You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On creation of a ConfidentialClientApplication, MSAL shall detect env variable MSAL_FORCE_REGION, which will be set to a specific region (e.g. westus1)
If this env variable is set, MSAL shall opt-in to ESTS-R with the value of this variable.
Disabling the behavior
If region is explicitly set in MSAL to the string "DisableMsalForceRegion`, then the above no longer applies
Conflicts with WithAzureRegion(xyz)
Use of the api WithRegion(xyz) takes precedence over the env variable.
Acceptance tests
For all of the tests, assume env variable MSAL_FORCE_REGION=eastus
No other config is used. ACTUAL region used: eastus
App developer configures region "westus" in MSAL. ACTUAL region used: westus
App developer configures region "DisableMsalForceRegion" in MSAL. ACTUAL region used: none
Region auto-enable
MSAL_FORCE_REGION
, which will be set to a specific region (e.g.westus1
)Disabling the behavior
If region is explicitly set in MSAL to the string "DisableMsalForceRegion`, then the above no longer applies
Conflicts with
WithAzureRegion(xyz)
Use of the api
WithRegion(xyz)
takes precedence over the env variable.Acceptance tests
For all of the tests, assume env variable MSAL_FORCE_REGION=eastus
Alternatives
No response
Original issue:
AzureAD/microsoft-authentication-library-for-dotnet#4930
The text was updated successfully, but these errors were encountered: