Replies: 1 comment
-
@oden08 When using the certificate (the client_credentials grant flow) you can only get application permissions in that flow. Please ensure that you have application permissions configured and then the scope for the connect-mggraph should be "https://graph.microsoft.com/.default" |
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
-
I have created a app registration in Entra to connect to MgGraph without login prompt (working on replacing MsolUser powershell scripts for azure ad connect license management). I am able to connect with my clientid / tenantid / certificatethumbprint but I have no permissions and Get-MgContext results in an empty "scopes" field. Can anyone point me in the direction of why I wouldn't be granted the permissions that I set in "API Permissions"?
Beta Was this translation helpful? Give feedback.
All reactions