We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07a1d78 commit 9489e52Copy full SHA for 9489e52
docs/authentication_samples.md
@@ -14,7 +14,7 @@ credential = DeviceCodeCredential(
14
tenant_id='TENANT_ID',
15
)
16
17
-scopes = ["User.Read"]
+scopes = ['https://graph.microsoft.com/.default']
18
19
# Create an API client with the credentials and scopes.
20
client = GraphServiceClient(credentials=credential, scopes=scopes)
@@ -36,7 +36,7 @@ from msgraph import GraphServiceClient
36
37
# Create a credential object. Used to authenticate requests
38
credential = InteractiveBrowserCredential()
39
40
41
42
0 commit comments