[BUG] Managed identity not working with Sites.Selected permission scope #3663
Unanswered
MarkoRosberg
asked this question in
General
Replies: 1 comment 1 reply
-
I can confirm that I have the same issue! |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Reporting an Issue or Missing Feature
Managed identity not working with Sites.Selected permission scope.
Expected behavior
PnP PowerShell should work with Sites.Selected scope and managed identity like with any login method.
Actual behavior
You'll receive "Attempted to perform an unauthorized operation." error.
Steps to reproduce behavior
The same issue has been discussed here https://learn.microsoft.com/en-us/answers/questions/1319299/managed-identity-with-sites-selected-permission. The same issue exists with system assigned user assigned managed identity.
What is the version of the Cmdlet module you are running?
2.2.0
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions