Skip to content

Commit 93670d6

Browse files
authored
Update Find-SPOCrossTenantLongFilePathsForSiteRename.md
1 parent a1ee2c9 commit 93670d6

File tree

1 file changed

+6
-28
lines changed

1 file changed

+6
-28
lines changed

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

Lines changed: 6 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.reviewer: jmcdowe
1212

1313
## SYNOPSIS
1414

15-
Finds sites that exceed the 400 character limit for Cross Tenant User Migration moves.
15+
Identify sites with file paths over 400 characters for cross-tenant user migration.
1616

1717
## SYNTAX
1818

@@ -24,42 +24,20 @@ Find-SPOCrossTenantLongFilePathsForSiteRename
2424
```
2525

2626
## DESCRIPTION
27-
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.
27+
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.
2828

2929
## EXAMPLES
3030

3131
### Example 1
3232
```powershell
33-
PS C:\Users\vmadministrator> $SourceSiteUrl = "https://prepspo.spgrid.com/sites/CommTest1"
34-
PS C:\Users\vmadministrator> $TargetSiteUrl = "https://Tenanta24a16f05d204f3bafbfd10ceb259ab9.spgrid.com/sites/CommTest1_longerUrlFor400CharsLimitation"
35-
PS C:\Users\vmadministrator> Find-SPOCrossTenantLongFilePathsForSiteRename -OldSiteUrl $SourceSiteUrl -NewSiteUrl $TargetSiteUrl
33+
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)
3634
```
37-
Output:
38-
39-
List of internal components with too long paths for Cross-tenant migration of the source site [https://prepspo.spgrid.com/sites/CommTest1]
40-
into the target relative url [/sites/CommTest1_longerUrlFor400CharsLimitation] with the relative delta [31]:
41-
42-
1) - sites/CommTest1/Shared Documents/Level1LongFolderNameFor400CharLimitValidationTesting/Level2LongFolderNameFor400CharLimitValidationTesting/Level3LongFolderNameFor400CharLimitValidationTesting/Level4LongFolderNameFor400CharLimitValidationTesting/Level5LongFolderNameFor400CharLimitValidationTesting/Level6LongFolderNameFor400CharLimitValidationTesting/Level7LongFolderNameFor400CharLimit/a.txt
43-
2) - sites/CommTest1/Shared Documents/Level1LongFolderNameFor400CharLimitValidationTesting/Level2LongFolderNameFor400CharLimitValidationTesting/Level3LongFolderNameFor400CharLimitValidationTesting/Level4LongFolderNameFor400CharLimitValidationTesting/Level5LongFolderNameFor400CharLimitValidationTesting/Level6LongFolderNameFor400CharLimitValidationTesting/Level7LongFolderNameFor400CharLimit
44-
45-
### Example 2
46-
47-
```powershell
48-
PS C:\Users\vmadministrator> $SourceSiteUrl = "https://prepspo.spgrid.com/sites/CommTest1"
49-
PS C:\Users\vmadministrator> $TargetSiteUrl = "https://Tenanta24a16f05d204f3bafbfd10ceb259ab9.spgrid.com/sites/CommTest1_longer"
50-
PS C:\Users\vmadministrator> Find-SPOCrossTenantLongFilePathsForSiteRename -OldSiteUrl $SourceSiteUrl -NewSiteUrl $TargetSiteUrl
51-
```
52-
Output:
53-
54-
List of internal components with too long paths for Cross-tenant migration of the source site [https://prepspo.spgrid.com/sites/CommTest1]
55-
into the target relative url [/sites/CommTest1_longer] with the relative delta [7]:
56-
57-
No problem found
35+
Example 1 finds
5836

5937
## PARAMETERS
6038

6139
### -NewSiteUrl
62-
This parameter includes the source site URL
40+
This parameter includes the source site URL.
6341

6442
```yaml
6543
Type: String
@@ -74,7 +52,7 @@ Accept wildcard characters: False
7452
```
7553
7654
### -OldSiteUrl
77-
This parameter includes the target site URL
55+
This parameter includes the target site URL.
7856
7957
```yaml
8058
Type: String

0 commit comments

Comments
 (0)