Skip to content

Commit 247e323

Browse files
authored
Merge pull request #182 from microsoftgraph/chore/update-readme-snippet
Update client credential snippet to use default scopes
2 parents 0f37461 + 28d05f8 commit 247e323

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ credential = ClientSecretCredential(
9595
'client_id',
9696
'client_secret'
9797
)
98-
scopes = ['User.Read']
98+
scopes = ['https://graph.microsoft.com/.default']
9999
auth_provider = AzureIdentityAuthenticationProvider(credential, scopes=scopes)
100100
request_adapter = GraphRequestAdapter(auth_provider)
101101
client = GraphServiceClient(request_adapter)

0 commit comments

Comments
 (0)