pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets

Home Page:https://pnp.github.io/powershell

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set-PnPStorageEntity -Scope Site Permission Denied

DA-Mena opened this issue · comments

###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?

  • PnP PowerShell for SharePoint 2013
  • PnP PowerShell for SharePoint 2016
  • PnP PowerShell for SharePoint 2019
  • [x ] PnP PowerShell for SharePoint Online

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?

  • MSI Installed downloaded from GitHub
  • [x ] Installed through the PowerShell Gallery with Install-Module
  • Other means

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