We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9ffecd5 + 76ab93e commit 15c3474Copy full SHA for 15c3474
msal/application.py
@@ -299,7 +299,7 @@ def __init__(
299
except ValueError: # Those are explicit authority validation errors
300
raise
301
except Exception: # The rest are typically connection errors
302
- if validate_authority and region:
+ if validate_authority and azure_region:
303
# Since caller opts in to use region, here we tolerate connection
304
# errors happened during authority validation at non-region endpoint
305
self.authority = Authority(
0 commit comments