Add Get-PnPGeoMoveCrossCompatibilityStatus cmdlet and related models for geo move compatibility checks#5337
Merged
Merged
Conversation
…for geo move compatibility checks
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new SharePoint Online admin cmdlet to surface multi-geo move cross-compatibility results, backed by a REST API call and new response models.
Changes:
- Introduces
Get-PnPGeoMoveCrossCompatibilityStatuscmdlet returning compatibility statuses for geo move combinations. - Extends
MultiGeoRestApiClientwith a new REST call to retrieve geo move compatibility checks. - Adds new model types to deserialize and represent the compatibility check results, plus cmdlet documentation and a changelog entry.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/Commands/Utilities/MultiGeo/MultiGeoRestApiClient.cs | Adds REST endpoint/version constants and a method to retrieve geo move compatibility checks. |
| src/Commands/Model/GeoMoveTenantCompatibilityCheck.cs | Adds model representing a source/destination geo pair and its compatibility result. |
| src/Commands/Model/GeoMoveCompatibilityValidationResult.cs | Adds enum for compatibility outcomes. |
| src/Commands/Model/GeoMoveCompatibilityChecks.cs | Adds wrapper model for the compatibility checks response. |
| src/Commands/Admin/GetGeoMoveCrossCompatibilityStatus.cs | Adds the new cmdlet that calls the REST client and outputs results. |
| documentation/Get-PnPGeoMoveCrossCompatibilityStatus.md | Adds user-facing cmdlet documentation. |
| CHANGELOG.md | Adds an entry for the new cmdlet (currently missing PR link). |
|
|
||
| ### Added | ||
| - Added `Get-PnPMultiGeoCompanyAllowedDataLocation` cmdlet to retrieve SharePoint Online multi-geo allowed data locations. [#5336](https://github.com/pnp/powershell/pull/5336) | ||
| - Added `Get-PnPGeoMoveCrossCompatibilityStatus` cmdlet to retrieve SharePoint Online multi-geo move compatibility statuses. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type
Related Issues?
NA
What is in this Pull Request ?
Add Get-PnPGeoMoveCrossCompatibilityStatus cmdlet and related models for geo move compatibility checks