Skip to content

Commit 7d5468a

Browse files
committed
Use Microsoft Graph rather than AAD Graph as default scope
1 parent 7b2afc0 commit 7d5468a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_e2e.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def _get_app_and_auth_code(
1818
client_secret=None,
1919
authority="https://login.microsoftonline.com/common",
2020
port=44331,
21-
scopes=["https://graph.windows.net/.default"],
21+
scopes=["https://graph.microsoft.com/.default"], # Microsoft Graph
2222
):
2323
from msal.oauth2cli.authcode import obtain_auth_code
2424
app = msal.ClientApplication(client_id, client_secret, authority=authority)

0 commit comments

Comments
 (0)