Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PnPFramework App Upload/Overwrite Failure – Permission Error in App Catalog and throws error "The current user does not have the permission to access the App Catalog" #1113

Open
mohamedfamin opened this issue Feb 24, 2025 · 0 comments

Comments

@mohamedfamin
Copy link

mohamedfamin commented Feb 24, 2025

Reporting an Issue or Missing Feature

The following functionalities have been failing for the past few days. These operations were working fine until February 18th 2025

  • Uploading or overwriting the SharePoint Framework (SPPKG) file into the SharePoint App Catalog programmatically.
  • Deploying or publishing the uploaded App Catalog file programmatically.
  • Checking whether the App Catalog is enabled or disabled programmatically.

Authorization Method
Azure Entra ID with full site.selected permission

Target Frameworks and Libraries
.NET Framework 4.7.2

Library: SharePointPnPCoreOnline
Version: 3.28.2012

Usage Way: AppManager

.NET 8
Library: PnP Framework
Version: 1.17.0 or 1.17.0 (nightly)
Usage Way: AppManager

Expected behavior

App package (sppkg) file should be uploaded/deployed and check whether app catalog is enabled or not using SharePointPnPCoreOnline/Pnp Framework

Actual behavior

Throwing the error says The current user does not have the permission to
access the App Catalog
.

App package (sppkg) file has failed to upload/overwrite/deploy and failing the app catalog whether is enabled or not using SharePointPnPCoreOnline/Pnp Framework

Steps to reproduce behavior

Scenario 1: Programmatically

  • Upload/Overwrite/Deploy or publish using SharePointPnPCoreOnline/Pnp Framework using AppManager
@mohamedfamin mohamedfamin changed the title PnPApp Upload/Overwrite Failure – Permission Error in App Catalog and throws error "The current user does not have the permission to access the App Catalog" PnPFramework App Upload/Overwrite Failure – Permission Error in App Catalog and throws error "The current user does not have the permission to access the App Catalog" Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant