Sp-dev-docs: Add Get/Set-PnPStorageEntity to documentation (need less permissions)

Created on 1 Aug 2019  ·  6Comments  ·  Source: SharePoint/sp-dev-docs

Using PnP PowerShell you can manage tenant properties without being tenant admin. It's enough to be member in the Owners group of the app catalog site (even when using tenant scope) which can make a huge difference regarding who is able to manage the properties.

Those cmdlets should be mentioned:

Connect-PnPOnline
Set-PnPStorageEntity
Get-PnPStorageEntity

Related: https://github.com/microsoft/Office365DSC/issues/177


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Good First Issue 🏆 docs docs-comment help wanted

Most helpful comment

Ok I did not know this. Adding tenant properties to site collection app catalogs of no-script sites is not allowed. This should definitely be in the docs. Thank you Basem Tohamy from Microsoft Support for helping me out on this.

All 6 comments

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

Care to contribute and submit a PR improving the docs?

Yep :)

Hm. Seems I have to do some more testing before I can be sure how to describe the necessary permissions. Setting tenant app catalog properties as Owner works fine. But currently I am not able to set any site collection app catalog properties - not by Set-SPOStorageEntity and not by Set-PnPStorageEntity, not as site admin, not as tenant admin. Strange. Will check on other tenants.

Ok I did not know this. Adding tenant properties to site collection app catalogs of no-script sites is not allowed. This should definitely be in the docs. Thank you Basem Tohamy from Microsoft Support for helping me out on this.

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

Was this page helpful?
0 / 5 - 0 ratings