Home > Perform Microsoft Teams Chat Migrations > Required Permissions for Microsoft Teams Chat Migration > Source Permissions When Destination is Microsoft Teams Chat
Export to PDFWith the Tenant Owner or Service Administrator role, you can create a Fly app profile in AvePoint Online Services > Management > App management to connect to the Microsoft 365 tenant using the Fly app.
Refer to Fly App Profile Permissions about how to create a Fly app profile and the required permissions of the Fly app profile.
With the Tenant Owner and Service Administrator role, you can create a custom app profile in AvePoint Online Services > Management > App management to connect to the Microsoft 365 tenant using a custom Azure app.
Refer to the following procedures to create a custom app profile:
Prepare a certificate in Microsoft Entra ID. Refer to Prepare a Certificate for the Custom Azure App for more information.
You can ignore this step if you have a certificate.
Create a custom Azure app in Microsoft Entra ID. Refer to Create Custom Azure Applications for more information.
Create an App Profile for a Custom Azure App in AvePoint Online Services.
After you re-authorize the app profile, you need to wait about one hour before using the app profile for your migration to refresh the token if there are permissions updated.
Refer to the following tables to add API permissions required by Microsoft Teams Chat Migration to the custom Azure app.
| API | Permission | Type | Purpose |
|---|---|---|---|
| Microsoft Information Protection Sync Service | UnifiedPolicy.Tenant.Read (Read all unified policies of the tenant.) | Application | Only required if you want to manage the sensitivity labels of files. |
| Microsoft Graph | Files.Read.All (Read OneDrive data) | Application | Retrieve and migrate OneDrive files. |
| Microsoft Graph | Chat.Read.All (Read all chat data) | Application | Retrieve chat data. |
| Microsoft Graph | User.Read.All (Read all users’ full profiles) | Application | Retrieve information of chat user profiles. |
| Microsoft Graph | TeamsTab.ReadAll (Read tabs in Microsoft Teams) | Application | Retrieve tabs in source chats. |
| SharePoint | Sites.FullControl.All (Have full control of all site collections) | Application | Retrieve settings and permissions of OneDrive sites. |
| Azure Rights Management Services *Note: For 21Vianet tenants, the API name is Microsoft Rights Management Services. | Content.SuperUser (Read all protected content for this tenant) | Application | Only required if you want to manage the sensitivity labels of files. |
For easy use, you can directly use the following commands to add required API permissions through Manifest for Microsoft 365 Commercial tenants.