pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
985 stars 665 forks source link

Set-PnPStorageEntity -Scope Site Permission Denied #2972

Open DA-Mena opened 3 years ago

DA-Mena commented 3 years ago

Notice: many issues / bugs reported are actually related to the PnP Core Library which is used behind the scenes. Consider carefully where to report an issue:

Reporting an Issue or Missing Feature

Please confirm what it is that your reporting

Can't add a property entity to a site collection that has a local app catalog only tenant scope works

Expected behavior

Please describe what output you expect to see from PnP-PowerShell Cmdlets

To not get a permission error on a site collection that I am already a site collection admin on (also in a full control group)

Actual behavior

Please describe what you see instead. Please provide samples of HTML output or screenshots

Set-PnPStorageEntity : Access denied. You do not have permission to perform this action or access this resource.

Steps to reproduce behavior

Please include complete code samples in-line or linked from gists

Connect-PnPOnline -Url [url to site collection with an app catolog]

Set-PnPStorageEntity -Scope Site -Key Example -Comment "My Comment" -Description "My Description " -Value "MyCustomValue"

Which version of the PnP-PowerShell Cmdlets are you using?

What is the version of the Cmdlet module you are running?

(you can retrieve this by executing Get-Module -Name sharepointpnppowershell* -ListAvailable) 3.25.2009.1

How did you install the PnP-PowerShell Cmdlets?

ghost commented 3 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.