Home > Aviator > Aviator for Microsoft Teams > Permissions Required by Source Teams > Custom App Profile Permissions
Export to PDFWith 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 for more information.
You can ignore this step if you have a certificate.
Create a custom Azure app in Microsoft Entra ID. Refer to for more information.
.
in AvePoint Online Services.
*Note: 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 to the custom Azure app.
*Note: √ refers to the permission is required to copy or merge the data type.
| API | Permission | Type | Purpose | Team | Channel | Planner |
|---|---|---|---|---|---|---|
| Microsoft Graph | Directory.Read.All(Read directory data) | Application | Only required if the source is a multi-geo tenant. | √ | ||
| Microsoft Graph | Domain.Read.All(Read domains) | Application | Retrieve domains. | √ | √ | √ |
| Microsoft Graph | RoleManagement.Read.Directory(Read directory RBAC settings) | Application | Retrieve directory roles. | √ | √ | |
| Microsoft Graph | Group.Read.All (Read all groups) | Application | Retrieve Microsoft 365 Groups and group members. | √ | √ | √ |
| Microsoft Graph | Group.ReadWrite.All(Read and write all groups) | Application | Only required if you use both the app profile and the service account in the source connection and the source service account is not the group owner, to automatically add the service account as the group owner. | √ | √ | |
| Microsoft Graph | Sites.Read.All (Read items in all site collections) | Application | Retrieve channel folders and files of team sites and private channels’ site collections. | √ | √ | √ |
| Microsoft Graph | User.Read.All (Read all users’ full profiles) | Application | Retrieve information of Microsoft 365 user profiles. | √ | √ | √ |
| Microsoft Graph | ChannelMember.Read.All(Read the members of all channels) | Application | Retrieve private/shared channel members. | √ | √ | |
| Microsoft Graph | ChannelMember.ReadWrite.All(Add and remove members from all channels) | Application | Only required if you use both the app profile and the service account in the source connection and the source service account is not the private/shared channel owner, to automatically add the service account as the channel owner. | √ | √ | |
| Microsoft Graph | ChannelMessage.Read.All(Read all channel messages) | Application | Retrieve all channel messages. | √ | √ | |
| Microsoft Graph | TeamworkTag.Read.All(Allows the app to read tags in Teams without a signed-in user) | Application | Retrieve tags. | √ | ||
| Microsoft Graph | TeamMember.Read.All(Read the members of all teams) | Application | Retrieve team members. | √ | ||
| Microsoft Graph | TeamSettings.Read.All(Read all teams’ settings) | Application | Retrieve and migrate team settings. | √ | ||
| Microsoft Graph | ChannelSettings.Read.All(Read the names, descriptions, and settings of all channels) | Application | Retrieve and migrate channel settings. | √ | √ | |
| Microsoft Graph | TeamsAppInstallation.ReadForTeam.All(Read installed Teams apps for all teams) | Application | Retrieve and migrate Team apps. | √ | ||
| Microsoft Graph | TeamsTab.Read.All(Read tabs in Microsoft Teams) | Application | Retrieve and migrate team tabs. | √ | √ | |
| Microsoft Graph | Schedule.Read.All(Read all schedule items) | Application | Retrieve and migrate Teams Shifts app data.*Note: If the source is a GCC High or 21Vianet tenant, this permission is not required. | √ | ||
| Microsoft Graph | Reports.Read.All(Read all usage reports) | Application | Only required by tenant discovery.*Note: If the source is a 21Vianet tenant, this permission is not required. | √ | √ | |
| Microsoft Graph | ReportSettings.Read.All(Read all admin report settings) | Application | Retrieve the Reports setting of the Microsoft 365 admin center.*Note: If the source is a 21Vianet tenant, this permission is not required. | √ | √ | |
| Microsoft Graph | Tasks.Read.All(Read all users’ tasks and tasklist) | Application | Retrieve planners and data in planners.*Note: If the source is a 21Vianet tenant, this permission is not required. | √ | √ | |
| Office 365 Exchange Online | Exchange.ManageAsApp(Manage Exchange As Application) | Application | Use Exchange PowerShell to retrieve mailbox permissions. | √ | ||
| Office 365 Exchange Online | Full_access_as_app(Use Exchange Web Services with full access to all mailboxes) | Application | Retrieve items from all mailboxes.*Note: If you do not want to add this permission to the app, you can create an RBAC assignment for the app to only access to specified mailboxes. Refer to the option 3 in the How to Migrate Mailboxes without the ApplicationImpersonation Role? section for details. | √ | ||
| SharePoint / Office 365 SharePoint Online | Sites.FullControl.All(Have full control of all site collections) | Application | Retrieve settings and permissions of team sites. | √ | √ | |
| SharePoint / Office 365 SharePoint Online | TermStore.ReadWrite.All(Read and write managed metadata) | Application | Retrieve and migrate Managed Metadata Service.*Note: The TermStore.ReadWrite.All permission is required to migrate the term set used in the Managed Navigation. If you do not need to migrate the term set used in the Managed Navigation, you can replace the permission with TermStore.Read.All. | √ | √ | |
| Azure Rights Management Services*Note: For 21Vianet tenants, the API name is Microsoft Rights Management Services. | Content.SuperUser(Read all unified policies of the tenant.) | Application | Only required if you want to manage the sensitivity labels of files/emails/Teams. | √ | √ | |
| Microsoft Information Protection Sync Service | UnifiedPolicy.Tenant.Read(Read all protected content for this tenant) | Application | Only required if you want to manage the sensitivity labels of files/emails/Teams. | √ | √ |