We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Not able to publish app in a SP site collection app catalog even though I have given full control to the registered app for authentication.
The app should get published and deployed
Throwing the error says The current user does not have the permission to access the App Catalog.
Try the below Created an app in a SharePoint site using /_layouts/appregnew.aspx
provided below access using /_layouts/appinv.aspx
Then run the below command
Connect-PnPOnline -Url https://sites.xxxx.com/sites/xxxxxxx -ClientId "xxxxx" -ClientSecret "xxxxx"
Add-PnPApp -path "C:\Projects\xxx\Backups\xxxxx.sppkg" -Scope Site -Publish
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable)
Get-Module -Name "PnP.PowerShell" -ListAvailable
ModuleType Version Name
Manifest 1.10.0 PnP.PowerShell
The text was updated successfully, but these errors were encountered:
As I mentioned in comment #4750, I'm also facing this issue while publishing the App package.
Sorry, something went wrong.
No branches or pull requests
Reporting an Issue or Missing Feature
Not able to publish app in a SP site collection app catalog even though I have given full control to the registered app for authentication.
Expected behavior
The app should get published and deployed
Actual behavior
Throwing the error says The current user does not have the permission to
access the App Catalog.
Steps to reproduce behavior
Try the below
Created an app in a SharePoint site using /_layouts/appregnew.aspx
provided below access using /_layouts/appinv.aspx
Then run the below command
Connect-PnPOnline -Url https://sites.xxxx.com/sites/xxxxxxx -ClientId "xxxxx" -ClientSecret "xxxxx"
Add-PnPApp -path "C:\Projects\xxx\Backups\xxxxx.sppkg" -Scope Site -Publish
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing
Get-Module -Name "PnP.PowerShell" -ListAvailable
)ModuleType Version Name
Manifest 1.10.0 PnP.PowerShell
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: