Skip to content

Add Get-PnPMultiGeoCompanyAllowedDataLocation cmdlet and related model for allowed data locations#5336

Merged
gautamdsheth merged 2 commits into
devfrom
feat/multi-geo1-location
May 31, 2026
Merged

Add Get-PnPMultiGeoCompanyAllowedDataLocation cmdlet and related model for allowed data locations#5336
gautamdsheth merged 2 commits into
devfrom
feat/multi-geo1-location

Conversation

@gautamdsheth
Copy link
Copy Markdown
Collaborator

Type

  • Bug Fix
  • New Feature
  • Sample

Related Issues?

Fixes #

What is in this Pull Request ?

Add support for fetching multi geo data locations

Copilot AI review requested due to automatic review settings May 31, 2026 14:39
Copy link
Copy Markdown
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 a SharePoint Online admin cmdlet for retrieving configured multi-geo company allowed data locations.

Changes:

  • Adds Get-PnPMultiGeoCompanyAllowedDataLocation cmdlet.
  • Adds a model for allowed data location output.
  • Extends the multi-geo REST client with feed deserialization and allowed data locations retrieval.

Reviewed changes

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

File Description
src/Commands/Admin/GetMultiGeoCompanyAllowedDataLocation.cs Adds the new PowerShell cmdlet entry point.
src/Commands/Model/MultiGeoCompanyAllowedDataLocation.cs Defines the returned data location model.
src/Commands/Utilities/MultiGeo/MultiGeoRestApiClient.cs Adds feed handling and REST call support for allowed data locations.
documentation/Get-PnPMultiGeoCompanyAllowedDataLocation.md Documents syntax, usage, parameters, and output.


namespace PnP.PowerShell.Commands.Admin
{
[Cmdlet(VerbsCommon.Get, "PnPMultiGeoCompanyAllowedDataLocation")]
@gautamdsheth gautamdsheth merged commit c878400 into dev May 31, 2026
5 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