Skip to content

Commit cdcdfd8

Browse files
authored
Merge pull request #890 from microsoftgraph/andrueastman-patch-1
docs: fix scope in Readme document
2 parents 8da6a38 + c8d2b88 commit cdcdfd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
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)