Skip to content

Add AzureFranceSov to AzureCloudInstance enum, Fixes AB#3536002#2484

Merged
mohitc1 merged 12 commits intodevfrom
mchand/bleu-cloud-support
Mar 21, 2026
Merged

Add AzureFranceSov to AzureCloudInstance enum, Fixes AB#3536002#2484
mohitc1 merged 12 commits intodevfrom
mchand/bleu-cloud-support

Conversation

@mohitc1
Copy link
Contributor

@mohitc1 mohitc1 commented Mar 18, 2026

Adds a new AzureFranceSov value to the AzureCloudInstance enum, enabling app developers to target the Bleu sovereign cloud (France) using the type-safe builder pattern:

AcquireTokenParameters.builder()
    .fromAuthority(AzureCloudInstance.AzureFranceSov, AadAuthorityAudience.AzureAdMultipleOrgs)
    ...

Points to changes in AzureAD/microsoft-authentication-library-common-for-android#3027
Fixes AB#3536002

Mohit added 2 commits March 17, 2026 15:03
- Add AzureFranceSov enum value for France sovereign cloud (login.sovcloud-identity.fr)
- Add test coverage in TokenParametersAuthorityTest and TokenParametersAuthorityMyOrgTest
@github-actions
Copy link

❌ Work item link check failed. Description does not contain AB#{ID}.

Click here to Learn more.

@github-actions github-actions bot added the msal label Mar 18, 2026
@github-actions github-actions bot changed the title Add AzureFranceSov to AzureCloudInstance enum Add AzureFranceSov to AzureCloudInstance enum, Fixes AB#3536002 Mar 18, 2026
@mohitc1 mohitc1 marked this pull request as ready for review March 18, 2026 20:30
@mohitc1 mohitc1 requested review from a team as code owners March 18, 2026 20:30
Copilot AI review requested due to automatic review settings March 18, 2026 20:30
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for the Bleu (France sovereign) cloud by introducing AzureFranceSov in the AzureCloudInstance enum and extending authority-construction tests to cover the new cloud host.

Changes:

  • Add AzureFranceSov("https://login.sovcloud-identity.fr") to AzureCloudInstance.
  • Extend parameterized tests to validate authority URLs for AzureFranceSov (common/organizations + my-org tenant).
  • Update changelog and bump the common submodule pointer.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
msal/src/main/java/com/microsoft/identity/client/AzureCloudInstance.java Adds the new cloud instance enum value and associated host.
msal/src/test/java/com/microsoft/identity/client/TokenParametersAuthorityTest.java Adds parameterized test cases for AzureFranceSov authority generation.
msal/src/test/java/com/microsoft/identity/client/TokenParametersAuthorityMyOrgTest.java Adds tenant-specific authority test coverage for AzureFranceSov.
common Updates submodule commit to pick up corresponding common-layer changes.
changelog Documents the new cloud instance support in vNext notes.

You can also share your feedback on Copilot code review. Take the survey.

Copy link
Member

@rpdome rpdome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want to add delos and sovsg here? or not yet?

@mohitc1 mohitc1 merged commit f5d4241 into dev Mar 21, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants