Closed verkes closed 1 week ago
Are you site collection administrator on the "https://mytenant.sharepoint.com/sites/test" site ?
Are you site collection administrator on the "https://mytenant.sharepoint.com/sites/test" site ?
Ah I'm not, just on the root site. Thank you
Reporting an Issue or Missing Feature
I am unable to set permissions on SharePoint sub sites. The app registration has the Sites.Selected permission in Azure AD, as well as Microsoft Graph API has Sites.FullControl.All for the PnP App. I am a GA.
Expected behavior
I want to grant write permissions to the Azure app.
Actual behavior
I am able to grant write permissions to the root site collection (https://mytenant.sharepoint.com), however I receive an access denied error for any sub sites.
Connect-PnPOnline
successfully authenticates my account,Grant-PnPAzureADAppSitePermission
gives me the following error:Steps to reproduce behavior
What is the version of the Cmdlet module you are running?
PnP.Powershell
Powershell
Which operating system/environment are you running PnP PowerShell on?