Skip to content

Commit c8d2b88

Browse files
authored
docs: fix scope in Readme document
1 parent 8da6a38 commit c8d2b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ credential = ClientSecretCredential(
127127
'client_id',
128128
'client_secret'
129129
)
130-
scopes = ["User.Read"]
130+
scopes = ['https://graph.microsoft.com/.default']
131131
client = GraphServiceClient(credentials=credential, scopes=scopes)
132132

133133
# GET /users/{id | userPrincipalName}

0 commit comments

Comments
 (0)