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

[BUG] Add-PnpApp Publish feature not working #4751

Open
5 tasks
SanthoAnbros opened this issue Feb 22, 2025 · 1 comment
Open
5 tasks

[BUG] Add-PnpApp Publish feature not working #4751

SanthoAnbros opened this issue Feb 22, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@SanthoAnbros
Copy link

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

Image

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?

  • [ + ] Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify
@SanthoAnbros SanthoAnbros added the bug Something isn't working label Feb 22, 2025
@mohamedfamin
Copy link

As I mentioned in comment #4750, I'm also facing this issue while publishing the App package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants