Skip to content

Rename government cloud environments to BleuCloud, DelosCloud, and GovSGCloud#1245

Merged
gautamdsheth merged 1 commit into
devfrom
feat/rename-cloud-graph-psv2
Jun 26, 2026
Merged

Rename government cloud environments to BleuCloud, DelosCloud, and GovSGCloud#1245
gautamdsheth merged 1 commit into
devfrom
feat/rename-cloud-graph-psv2

Conversation

@gautamdsheth

Copy link
Copy Markdown
Collaborator

Renaming it align with 1P tooling and avoid confusion

Depends on PR:

PnPCore/1787

Copilot AI review requested due to automatic review settings June 26, 2026 19:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates PnP.Framework’s sovereign/government cloud environment naming to align with first-party (1P) terminology and reduce confusion, including corresponding endpoint/authority mappings used by AuthenticationManager.

Changes:

  • Renamed AzureEnvironment members from GovFr/GovDe/GovSg to BleuCloud/DelosCloud/GovSGCloud.
  • Updated environment detection logic (TLD-based) to return the renamed enum values.
  • Updated Microsoft365Environment-to-AzureEnvironment mappings and authority/endpoint selection to use the renamed values.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/lib/PnP.Framework/Extensions/InternalClientContextExtensions.cs Updates TLD-based environment inference to return the renamed sovereign cloud enum values.
src/lib/PnP.Framework/AuthenticationManager.cs Renames AzureEnvironment members and updates all related endpoint/authority mappings to the new names.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +57 to +61
BleuCloud = 7,
/// <summary>
///
/// </summary>
GovDe = 8,
DelosCloud = 8,
@gautamdsheth gautamdsheth merged commit 2ca7dc2 into dev Jun 26, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants