SharePointCrossTenantMigration.Manage.All
Allows the app to read, write and manage your tenant's SharePoint Cross-Tenant migration settings and tasks, without a signed-in user.
Permission Details
Read, write and manage SharePoint Cross-Tenant migration settings and tasks
Allows the app to read, write and manage your tenant's SharePoint Cross-Tenant migration settings and tasks, without a signed-in user.
a0521574-fcd8-4742-b29c-f796df57ea70
Read, write and manage SharePoint Cross-Tenant migration settings and tasks
Allows the app to read, write and manage your tenant's SharePoint Cross-Tenant migration settings and tasks, on behalf of the signed-in user.
c608c170-08b5-466b-a8fe-0b4074b01613
Properties
Properties is shown from stable Microsoft Graph v1.0 metadata.
| Property | Type | Description |
|---|---|---|
id |
string |
The unique identifier for an entity. Read-only. |
settings |
object |
JSON Representation
JSON representation is shown from stable Microsoft Graph v1.0 metadata.
{
"id": "String",
"settings": {
"sample": "value"
}
}
Relationships
Relationships metadata is not available for this permission mapping.
View resource documentationGraph Methods
Microsoft Graph v1.0 endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
No API methods available for this version.
Microsoft Graph beta endpoints are mapped directly from refreshed Microsoft Learn permissions tables.
Microsoft Graph PowerShell v1.0 commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsMicrosoft Graph PowerShell beta commands are not available from refreshed Microsoft Learn PowerShell snippets for this permission.
No deterministic PowerShell command map is available for this permission.
Browse PowerShell docsCode Examples
// Code snippets are only available for the latest version. Current version is 5.x
// Dependencies
using Microsoft.Graph.Beta.Models;
var requestBody = new SharePointMigrationTask
{
Parameters = new SharePointUserMigrationTaskParameters
{
OdataType = "#microsoft.graph.sharePointUserMigrationTaskParameters",
TargetOrganizationHost = "https://fabrico-my.sharepoint.com",
SourceUserIdentity = new UserIdentity
{
UserPrincipalName = "[email protected]",
},
TargetUserIdentity = new UserIdentity
{
UserPrincipalName = "[email protected]",
},
},
};
// To initialize your graphClient, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=csharp
var result = await graphClient.Solutions.SharePoint.Migrations.CrossOrganizationMigrationTasks.PostAsync(requestBody);
const options = {
authProvider,
};
const client = Client.init(options);
const sharePointMigrationTask = {
parameters: {
'@odata.type': '#microsoft.graph.sharePointUserMigrationTaskParameters',
targetOrganizationHost: 'https://fabrico-my.sharepoint.com',
sourceUserIdentity: {
userPrincipalName: '[email protected]'
},
targetUserIdentity: {
userPrincipalName: '[email protected]'
}
}
};
await client.api('/solutions/sharePoint/migrations/crossOrganizationMigrationTasks')
.version('beta')
.post(sharePointMigrationTask);
Connect-MgGraph -Scopes "SharePointCrossTenantMigration.Manage.All"
Invoke-MgGraphRequest -Method GET -Uri "https://graph.microsoft.com/v1.0/solutions/sharePoint/migrations/crossOrganizationMigrationTasks"
# Code snippets are only available for the latest version. Current version is 1.x
from msgraph_beta import GraphServiceClient
from msgraph_beta.generated.models.share_point_migration_task import SharePointMigrationTask
from msgraph_beta.generated.models.share_point_user_migration_task_parameters import SharePointUserMigrationTaskParameters
from msgraph_beta.generated.models.user_identity import UserIdentity
# To initialize your graph_client, see https://learn.microsoft.com/en-us/graph/sdks/create-client?from=snippets&tabs=python
request_body = SharePointMigrationTask(
parameters = SharePointUserMigrationTaskParameters(
odata_type = "#microsoft.graph.sharePointUserMigrationTaskParameters",
target_organization_host = "https://fabrico-my.sharepoint.com",
source_user_identity = UserIdentity(
user_principal_name = "[email protected]",
),
target_user_identity = UserIdentity(
user_principal_name = "[email protected]",
),
),
)
result = await graph_client.solutions.share_point.migrations.cross_organization_migration_tasks.post(request_body)
App Registration
Navigate to Azure Portal
Go to App registrations in Microsoft Entra admin center
Add API Permission
Select your app → API permissions → Add a permission → Microsoft Graph
Select Permission Type
Choose Application permissions or delegated permissions and search for SharePointCrossTenantMigration.Manage.All
Grant Admin Consent
Application permissions always require admin consent.