From 2bcbb39596d80293e56ee739187bc2132730f9a6 Mon Sep 17 00:00:00 2001 From: Colby Williams Date: Mon, 25 Mar 2024 11:58:40 -0500 Subject: [PATCH] remove unnecessary graph scopes --- src/Auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Auth.ts b/src/Auth.ts index 5e5c9f3..b4077d6 100644 --- a/src/Auth.ts +++ b/src/Auth.ts @@ -144,7 +144,7 @@ export class Auth implements TokenCredential, AuthenticationProvider { }; getAccessToken = async (authenticationProviderOptions?: AuthenticationProviderOptions): Promise => { - const graphScopes = ['User.Read', 'User.ReadBasic.All', 'Directory.Read.All', 'People.Read']; // An array of graph scopes + const graphScopes = ['User.Read']; // An array of graph scopes if (authenticationProviderOptions?.scopes) graphScopes.concat(authenticationProviderOptions.scopes);