Skip to content

Commit 6e1217f

Browse files
committed
Correct ommissions
1 parent e3f8f08 commit 6e1217f

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎samples/drives_samples.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ credential = ClientSecretCredential(
1919
scopes = ['https://graph.microsoft.com/.default']
2020

2121
# Create an API client with the credentials and scopes.
22-
client = GraphServiceClient()
22+
client = GraphServiceClient(credentials, scopes=scopes)
23+
```
2324
```
2425
2526
## 1. LIST ALL DRIVES (GET /drives)

‎samples/users_samples.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ credential = ClientSecretCredential(
1919
scopes = ['https://graph.microsoft.com/.default']
2020

2121
# Create an API client with the credentials and scopes.
22-
client = GraphServiceClient(request_adapter)
22+
client = GraphServiceClient(credential, scopes=scopes)
2323
```
2424

2525
## 1. GET ALL USERS IN A TENANT (GET /users)

0 commit comments

Comments
 (0)