Skip to content

Commit

Permalink
Merge pull request #890 from microsoftgraph/andrueastman-patch-1
Browse files Browse the repository at this point in the history
docs: fix scope in Readme document
  • Loading branch information
andrueastman authored Sep 6, 2024
2 parents 8da6a38 + c8d2b88 commit cdcdfd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ credential = ClientSecretCredential(
'client_id',
'client_secret'
)
scopes = ["User.Read"]
scopes = ['https://graph.microsoft.com/.default']
client = GraphServiceClient(credentials=credential, scopes=scopes)

# GET /users/{id | userPrincipalName}
Expand Down

0 comments on commit cdcdfd8

Please sign in to comment.