You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Invalid scopes (using the example code from README) #889
Apologies, the scope for that snippet is incorrect. Authored #890 to resolve this.
As you the sample is using the ClientSecretCredential the application is using app only access so the scope should be the default scope of 'https://graph.microsoft.com/.default' and then configured on the app portal.
Activity
andrueastman commentedon Sep 6, 2024
Thanks for raising this Francisco Schulz (@fschlz)
Apologies, the scope for that snippet is incorrect. Authored #890 to resolve this.
As you the sample is using the
ClientSecretCredentialthe application is using app only access so the scope should be the default scope of'https://graph.microsoft.com/.default'and then configured on the app portal.https://learn.microsoft.com/en-us/graph/permissions-overview?tabs=http#application-permissions