Replies: 1 comment
-
I just tested this with a service principal, and it seems to work fine. For SharePoint you would want something like Sites.FullControl If you could paste what you have under Manifest json > requiredResourceAccess
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need to use Remove-PnPSiteGroup as a registered application.
I connect with
$appConn = Connect-PnPOnline -Url $siteURL -ClientId $ClientId
but the line
Remove-PnPSiteGroup -Identity $GroupToRemove
Gets an error:
The remote server returned an error: (401) Unauthorized.
this app has many Graph and SharePoint permissions.
What permissions are missing?
I intend to use it in unattended way, so it must be a registered application.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions