Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] WithAzureRegion and WithCustomInstanceMetadata are mutually exclusive #3014

Closed
bgavrilMS opened this issue Nov 15, 2021 · 0 comments · Fixed by #3116
Closed

[Bug] WithAzureRegion and WithCustomInstanceMetadata are mutually exclusive #3014

bgavrilMS opened this issue Nov 15, 2021 · 0 comments · Fixed by #3116
Assignees
Milestone

Comments

@bgavrilMS
Copy link
Member

bgavrilMS commented Nov 15, 2021

msal 4.37

  1. Configure both WithAzureRegion("region") and WithCustomInstanceMetadata(metadata)
  2. set medatadata to smth like
                "{{\"api-version\":\"1.1\",\"metadata\":[{{\"preferred_network\":\"{0}\",\"preferred_cache\":\"{0}\",\"aliases\":[\"{0}\",]}}]}}";

Actual: WithCustomInstanceMetadata overrides with region
Expected: An exception message preventing the use of both options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants