Skip to content

Conversation

@vgaddam-pm
Copy link
Contributor

No description provided.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 035b75a:

⚠️ Validation status: warnings

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ⚠️Warning View (sharepoint-ps) Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Find-SPOCrossTenantLongFilePathsForSiteRename.md ✅Succeeded View (sharepoint-ps)

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md

  • Line 0, Column 0: [Warning: PSMD2Yaml_InconsistentCmdletsInModule] Inconsistent cmdlets found in module: Microsoft.Online.SharePoint.PowerShell. 1 cmdlets in the module folder but not listed in the module file: Find-SPOCrossTenantLongFilePathsForSiteRename.

For more details, please refer to the build report.

Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.

@vgaddam-pm vgaddam-pm marked this pull request as draft July 22, 2025 22:47
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit a1ee2c9:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Find-SPOCrossTenantLongFilePathsForSiteRename.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

```

## DESCRIPTION
SharePoint Cross Tenant User Migration has a restriction where the source tenant site's file path should not exceed 400 characters in length after merging to the target side. This cmdlet finds sites that exceed the 400 character limit.
Copy link
Contributor

@samkabue samkabue Jul 22, 2025

Choose a reason for hiding this comment

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

suggestion from Rewrite agent:

During SharePoint cross-tenant user migration, file paths from the source tenant must be 400 characters or fewer after merging with the target tenant. This cmdlet helps you identify sites that exceed this limit. #Closed


1) - sites/CommTest1/Shared Documents/Level1LongFolderNameFor400CharLimitValidationTesting/Level2LongFolderNameFor400CharLimitValidationTesting/Level3LongFolderNameFor400CharLimitValidationTesting/Level4LongFolderNameFor400CharLimitValidationTesting/Level5LongFolderNameFor400CharLimitValidationTesting/Level6LongFolderNameFor400CharLimitValidationTesting/Level7LongFolderNameFor400CharLimit/a.txt
2) - sites/CommTest1/Shared Documents/Level1LongFolderNameFor400CharLimitValidationTesting/Level2LongFolderNameFor400CharLimitValidationTesting/Level3LongFolderNameFor400CharLimitValidationTesting/Level4LongFolderNameFor400CharLimitValidationTesting/Level5LongFolderNameFor400CharLimitValidationTesting/Level6LongFolderNameFor400CharLimitValidationTesting/Level7LongFolderNameFor400CharLimit

Copy link
Contributor

@samkabue samkabue Jul 22, 2025

Choose a reason for hiding this comment

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

  • remove this entire output thing as we don't do this for other cmdlets. only example usage is sufficient.
  • also, use common public domains such as contoso and fabrikam -- prepspo is internal.
  • remove the "PS C:..." prefix

Simply use this example:

Find-SPOCrossTenantLongFilePathsForSiteRename -OldSiteUrl [https://contoso.sharepoint.com/sites/site1](https://contoso.sharepoint.com/sites/site1) -NewSiteUrl [https://fabrikam.sharepoint.com/sites/site1](https://fabrikam.sharepoint.com/sites/site1)

#Closed

List of internal components with too long paths for Cross-tenant migration of the source site [https://prepspo.spgrid.com/sites/CommTest1]
into the target relative url [/sites/CommTest1_longer] with the relative delta [7]:

No problem found
Copy link
Contributor

@samkabue samkabue Jul 22, 2025

Choose a reason for hiding this comment

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

this example is not needed and can be removed #Closed

## PARAMETERS

### -NewSiteUrl
This parameter includes the source site URL
Copy link
Contributor

@samkabue samkabue Jul 22, 2025

Choose a reason for hiding this comment

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

URL

end sentences with . #Closed

Copy link
Contributor

Choose a reason for hiding this comment

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

could you rewrite this for clarity? "includes the source site URL" is not clear -- what does "include" mean in this context? same for the OldSiteUrl

```

### -OldSiteUrl
This parameter includes the target site URL
Copy link
Contributor

@samkabue samkabue Jul 22, 2025

Choose a reason for hiding this comment

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

URL

end sentences with . #Closed


## SYNOPSIS

Finds sites that exceed the 400 character limit for Cross Tenant User Migration moves.
Copy link
Contributor

@samkabue samkabue Jul 22, 2025

Choose a reason for hiding this comment

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

Rewrite agent suggestion:

Identify sites with file paths over 400 characters for cross-tenant user migration.

update in Microsoft.Online.SharePoint.PowerShell.md as well #Closed

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 93670d6:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Find-SPOCrossTenantLongFilePathsForSiteRename.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 33a4b50:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Find-SPOCrossTenantLongFilePathsForSiteRename.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

Copy link
Contributor Author

@vgaddam-pm vgaddam-pm left a comment

Choose a reason for hiding this comment

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

Made changes based on feedback. Still unsure about wording for parameters description or if it is better to just remove it altogether.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 4961be8:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Find-SPOCrossTenantLongFilePathsForSiteRename.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.


### Example 1
```powershell
Find-SPOCrossTenantLongFilePathsForSiteRename -OldSiteUrl [https://contoso.sharepoint.com/sites/site1](https://contoso.sharepoint.com/sites/site1) -NewSiteUrl [https://fabrikam.sharepoint.com/sites/site1](https://fabrikam.sharepoint.com/sites/site1)
Copy link
Contributor

@samkabue samkabue Jul 23, 2025

Choose a reason for hiding this comment

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

https://contoso.sharepoint.com/sites/site1

Suggested change
Find-SPOCrossTenantLongFilePathsForSiteRename -OldSiteUrl [https://contoso.sharepoint.com/sites/site1](https://contoso.sharepoint.com/sites/site1) -NewSiteUrl [https://fabrikam.sharepoint.com/sites/site1](https://fabrikam.sharepoint.com/sites/site1)
https://contoso.sharepoint.com/sites/site1
``` #Closed


### Example 1
```powershell
Find-SPOCrossTenantLongFilePathsForSiteRename -OldSiteUrl [https://contoso.sharepoint.com/sites/site1](https://contoso.sharepoint.com/sites/site1) -NewSiteUrl [https://fabrikam.sharepoint.com/sites/site1](https://fabrikam.sharepoint.com/sites/site1)
Copy link
Contributor

@samkabue samkabue Jul 23, 2025

Choose a reason for hiding this comment

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

https://fabrikam.sharepoint.com/sites/site1

Suggested change
Find-SPOCrossTenantLongFilePathsForSiteRename -OldSiteUrl [https://contoso.sharepoint.com/sites/site1](https://contoso.sharepoint.com/sites/site1) -NewSiteUrl [https://fabrikam.sharepoint.com/sites/site1](https://fabrikam.sharepoint.com/sites/site1)
https://fabrikam.sharepoint.com/sites/site1
``` #Closed

…l/Find-SPOCrossTenantLongFilePathsForSiteRename.md

Co-authored-by: Sam M. Kabue <[email protected]>
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 88dd1bc:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Find-SPOCrossTenantLongFilePathsForSiteRename.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

Copy link
Contributor Author

@vgaddam-pm vgaddam-pm left a comment

Choose a reason for hiding this comment

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

Updated according to suggestions

@vgaddam-pm vgaddam-pm marked this pull request as ready for review July 24, 2025 01:48
@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit d71cb69:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Find-SPOCrossTenantLongFilePathsForSiteRename.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 7fd35bc:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Find-SPOCrossTenantLongFilePathsForSiteRename.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.


### Example 1
```powershell
https://fabrikam.sharepoint.com/sites/site1
Copy link
Contributor

@samkabue samkabue Jul 24, 2025

Choose a reason for hiding this comment

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

Find-SPOCrossTenantLongFilePathsForSiteRename -OldSiteUrl https://contoso.sharepoint.com/sites/site1 -NewSiteUrl https://fabrikam.sharepoint.com/sites/site1
``` #Closed

Copy link
Contributor Author

@vgaddam-pm vgaddam-pm left a comment

Choose a reason for hiding this comment

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

Fixed example 1

@learn-build-service-prod
Copy link
Contributor

Learn Build status updates of commit 56f5781:

✅ Validation status: passed

File Status Preview URL Details
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Find-SPOCrossTenantLongFilePathsForSiteRename.md ✅Succeeded View (sharepoint-ps)
sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Microsoft.Online.SharePoint.PowerShell.md ✅Succeeded View (sharepoint-ps)

For more details, please refer to the build report.

Copy link
Contributor

@samkabue samkabue left a comment

Choose a reason for hiding this comment

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

:shipit:

@samkabue samkabue added the Sign off The pull request is ready to be reviewed and merged by PubOps label Jul 24, 2025
@aditisrivastava07 aditisrivastava07 self-assigned this Jul 24, 2025
@aditisrivastava07 aditisrivastava07 added the In review PubOps is reviewing the pull request label Jul 24, 2025
@aditisrivastava07 aditisrivastava07 merged commit 4479877 into MicrosoftDocs:main Jul 24, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

In review PubOps is reviewing the pull request Microsoft submitter Sign off The pull request is ready to be reviewed and merged by PubOps

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants