Replies: 1 comment
-
Hi, Maybe try and make a new app reg with a certificate and granted Sites.FullControl.All |
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 would like to automate Sharepoint sites configuration, basically calling:
It's OK when I use interactive connection:
But I'd like to go further in automation and not use a human credentials and rather use a technical account provided by a RegisteredApp with Sites.FullControl.All autorisation. I tried both:
Where $admclientSecret, $admClientCertPath, $admClientCertPassword are the ones provided in registered app certificates & secrets.
Sadly both of them fail with error
How can I authenticate using a registered app account and be able to use Grant-PnPAzureADAppSitePermission operation
Beta Was this translation helpful? Give feedback.
All reactions