From fbdd73c3f39a079e15b930f2e07bad01ef195730 Mon Sep 17 00:00:00 2001 From: Michael Phillips Date: Tue, 19 Jul 2022 12:59:54 -0500 Subject: [PATCH] Pass tenant ID through to msal --- refresh_token.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/refresh_token.py b/refresh_token.py index 646ba9f..c908796 100644 --- a/refresh_token.py +++ b/refresh_token.py @@ -6,7 +6,7 @@ print_access_token = True # We use the cache to extract the refresh token cache = SerializableTokenCache() -app = ConfidentialClientApplication(config.ClientId, client_credential=config.ClientSecret, token_cache=cache) +app = ConfidentialClientApplication(config.ClientId, client_credential=config.ClientSecret, token_cache=cache, authority=config.Authority) old_refresh_token = open(config.RefreshTokenFileName,'r').read()