Source Permissions When Destination is Google Chat Space

Fly App Profile Permissions

With 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.

Custom App Profile Permissions

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:

  1. Prepare a certificate in Microsoft Entra ID. Refer to for more information.

    You can ignore this step if you have a certificate.

  2. Create a custom Azure app in Microsoft Entra ID. Refer to for more information.

  3. .

  4. 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 by Microsoft Teams Migration to the custom Azure app.

APIPermissionTypePurpose
Microsoft GraphDomain.Read.All (Read domains)Application Retrieve the tenant domain.
Microsoft GraphRoleManagement.Read.Directory (Read all directory RBAC settings)Application Retrieve directory roles.
Microsoft GraphGroup.Read.All (Read all groups)ApplicationRetrieve Microsoft 365 Groups and Group members.
Microsoft GraphGroup.ReadWrite.All(Read and write all groups)ApplicationOnly required if you use both the app profile and the service account in the source connection and the source service account is not the team owner, to automatically add the service account as the team owner.
Microsoft GraphSites.Read.All (Read items in all site collections)ApplicationRetrieve channel folders and files of team sites and private channels’ site collections.
Microsoft GraphUser.Read.All (Read all users’ full profiles)ApplicationRetrieve information of Microsoft 365 user profiles.
Microsoft GraphChannelMember.Read.All(Read the members of all channels)ApplicationRetrieve private/shared channel members.
Microsoft GraphChannelMember.ReadWrite.All(Add and remove members from all channels)ApplicationOnly 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 GraphChannelMessage.Read.All(Read all channel messages)ApplicationRetrieve all channel messages.
Microsoft GraphTeamMember.Read.All(Read the members of all teams)ApplicationRetrieve Team members.
Microsoft GraphReports.Read.All(Read all usage reports)ApplicationOnly required by tenant discovery.
Microsoft GraphReportSettings.Read.All(Read all admin report settings)ApplicationRetrieve the Reports setting of the Microsoft 365 admin center.
SharePoint/Office 365 SharePoint OnlineSites.FullControl.All (Have full control of all site collections)ApplicationRetrieve settings and permissions of team sites.

For easy use, you can directly use the following commands to add required API permissions through Manifest.

"requiredResourceAccess": [

{

"resourceAppId": "00000003-0000-0000-c000-000000000000",

"resourceAccess": [

{

"id": "35930dcf-aceb-4bd1-b99a-8ffed403c974",

"type": "Role"

},

{

"id": "7b2449af-6ccd-4f4d-9f78-e550c193f0d1",

"type": "Role"

},

{

"id": "dbb9058a-0e50-45d7-ae91-66909b5d4664",

"type": "Role"

},

{

"id": "62a82d76-70ea-41e2-9197-370581804d09",

"type": "Role"

},

{

"id": "230c1aed-a721-4c5d-9cb4-a90514e508ef",

"type": "Role"

},

{

"id": "ee353f83-55ef-4b78-82da-555bfa2b4b95",

"type": "Role"

},

{

"id": "483bed4a-2ad3-4361-a73b-c83ccdbdc53c",

"type": "Role"

},

{

"id": "332a536c-c7ef-4017-ab91-336970924f0d",

"type": "Role"

},

{

"id": "660b7406-55f1-41ca-a0ed-0b035e182f3e",

"type": "Role"

},

{

"id": "df021288-bdef-4463-88db-98f22de89214",

"type": "Role"

}

]

},

{

"resourceAppId": "00000003-0000-0ff1-ce00-000000000000",

"resourceAccess": [

{

"id": "678536fe-1083-478a-9c59-b99265e6b0d3",

"type": "Role"

}

]

}

],

Service Account Permissions

If you only use service account authentication for source Teams, the service account must meet the following requirements:

*Note: Users with Multi-Factor Authentication (MFA) enabled cannot be used as the service account to perform migrations. You can use a delegated app profile instead.

Additionally, Microsoft has updated API permissions for Microsoft Teams migration. Once the old permissions are deprecated, you can use a delegated app profile to migrate conversations and other Teams data.

- Licenses for Microsoft Teams > ***Note**: To assign the licenses to the service account, go to the Microsoft 365 admin center > **Users** > **Active users**, and **Microsoft Teams** under the **Licenses and apps** tab of the service account. - Team owner of source Teams, and channel owner of source private/shared channels You can manually add the service account as the team/channel owner. For easy use, if you grant **Teams Administrator** or **Global Administrator** for the service account, Fly can automatically add the service account as the team/channel owner as well as the owner and member of the Microsoft 365 Group associated with the Team. After the migration, you can remove the service account from the group owner using PowerShell or block the service account directly. To remove the account, refer to [Remove the Service Account](#missing-link) for details. To block the account, go to Microsoft 365 Admin Center > Users and click the display name of the user. Click the Block this user ( ) icon, select **Block the user from signing in**, and save the changes. - If you want to migrate team sites of source Teams/private channels/shared channels, the service account must be **Site Collection Administrator** of the team sites/private channel sites/shared channel sites. If the service account is **SharePoint Administrator** or **Global Administrator**, the service account will be automatically added as **Site Collection Administrator** of the team sites during the full migration job. After the migration, you can remove the service account from the team sites. Additionally, if you want to migrate the Managed Metadata Service of source team sites, the service account must be **Term Store Administrator** of the Managed Metadata Service. - If the source Team is created based on a team site of classic experience, and your source connection only has the service account configured, the source service account must be **Site Collection Administrator** of the source site. You can also grant the **SharePoint Administrator** role for the service account, and Fly will automatically add the source service account as **Site Collection Administrator** of the source site during the migration. - Service account pool is no longer available in migrations. If you have used the service account pool for the source before, and you want to continue using the service account pool, you can select multiple service accounts when creating Teams connections, and make sure all selected service accounts meet the requirements mentioned above.

What permissions are required if I also use an app profile?

If you use both service account and app profile authentications for source Teams, the service account must meet the following requirements:

*Note: Users with Multi-Factor Authentication (MFA) enabled cannot be used as the service account to perform migrations. You can use a delegated app profile instead.

- Licenses for Microsoft Teams > ***Note**: To assign the licenses to the service account, go to the Microsoft 365 admin center > **Users** > **Active users**, and select **Microsoft Teams** under the **Licenses and apps** tab of the service account. - Team owner of source Teams, and channel owner of source private/shared channels You can manually add the service account as the team/channel owner. For easy use, if you provide both a service account and app profile using the default Fly app or custom app with required permissions, Fly can automatically add the service account as the team/channel owner as well as the owner and member of the Microsoft 365 Group associated with the Team. After the migration, you can block the service account directly. To block the account, go to Microsoft 365 Admin Center > Users and click the display name of the user. Click the Block this user ( ) icon, select **Block the user from signing in**, and save the changes. - If you want to migrate team sites of source Teams/private channels/shared channels, the service account must be **Site Collection Administrator** of the team sites. With the app profile, the service account will be automatically added as **Site Collection Administrator** of the team sites during the full migration job. After the migration, you can remove the service account from the team sites. Additionally, if you want to migrate the Managed Metadata Service of source team sites, the service account must be **Term Store Administrator** of the Managed Metadata Service. - If the source Team is created based on a team site of classic experience, and your source connection only has the service account configured, the source service account must be **Site Collection Administrator** of the source site. You can also grant the **SharePoint Administrator** role for the service account, and Fly will automatically add the source service account as **Site Collection Administrator** of the source site during the migration. - Service account pool is no longer available in migrations. If you have used the service account pool for the source before, and you want to continue using the service account pool, you can select multiple service accounts when creating Teams connections, and make sure all selected service accounts meet the requirements mentioned above.

Delegated APP Profile Permissions

Fly allows you to use the Fly delegated app profile or custom delegated app profile to connect to your workspace.

*Note: The license and permission requirements for the consent user are the same as those for the service account. For details, refer to Service Account Permissions.

*Note: If the consent user of the delegated app profile has Multi-Factor Authentication (MFA) enabled, you must authorize or re-authorize the delegated app profile after MFA is enabled. Otherwise, the migration jobs using the delegated app profile will fail.

*Note: If 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 when there are permissions updated.

To use the Fly delegated app profile with required permissions, refer to Fly Delegated App Profile Permissions.

To use a custom delegated app profile with required permissions, refer to the following steps:

  1. After registering an app in Microsoft Entra ID, add the required permissions to the app. The following sections show the required permissions of different tenants.

  2. Click Authentication in the left navigation of the app.

  3. Click Add a platform.

  4. Select Web in the Configure platforms panel.

  5. In the Configure Web panel, enter the AvePoint Online Services URL: for your commercial environment or for your U.S. Government environment in the Redirect URIs field.

  6. Select the Access tokens and ID tokens checkboxes in the Implicit grant and hybrid flows field.

  7. Click Configure.

  8. Click Save.

  9. Create an app profile for the app using the Custom mode in AvePoint Online Services by referring to .

*Note: When consenting to the app, if you have granted the admin consent and allowed public client flows for the permissions, you can choose to use the Global Administrator consent or the User consent method. If not, you can only use the Global Administrator consent method.

Custom Delegated App Profile

Make sure the custom delegated app has the following permissions.

APIPermissionTypePurpose
SharePoint/Office 365 SharePoint OnlineAllSites.FullControl(Have full control of all site collections)DelegatedRetrieve settings and permissions of team sites.
Microsoft GraphDomain.Read.All(Read domains)DelegatedRetrieve the tenant domain.
Microsoft GraphRoleManagement.Read.Directory(Read directory RBAC settings)DelegatedRetrieve directory roles.
Microsoft GraphGroup.Read.All(Read all groups)DelegatedRetrieve Microsoft 365 Groups and Group members.
Microsoft GraphGroup.ReadWrite.All(Read and write all groups)DelegatedRequired if you only use the delegated app profile and the source consent user is not the Team owner to automatically add the consent user as the Team owner.
Microsoft GraphSites.Read.All(Read items in all site collections)DelegatedRetrieve channel folders and files of team sites and private channels’ site collections.
Microsoft GraphUser.Read.All(Read all users’ full profiles)DelegatedRetrieve information of Microsoft 365 user profiles.
Microsoft GraphChannelMember.Read.All(Read the members of all channels)DelegatedRetrieve private/shared channel members.
Microsoft GraphChannelMember.ReadWrite.All(Add and remove members from all channels)DelegatedOnly required the source consent user is not the private/shared channel owner to automatically add the consent user as the channel owner.

| |Microsoft Graph|ChannelMessage.Read.All(Read all channel messages)|Delegated|Retrieve all channel messages.|

For easy use, you can directly use the following commands to add required API permissions through Manifest.

"requiredResourceAccess": [

{

"resourceAppId": "00000003-0000-0ff1-ce00-000000000000",

"resourceAccess": [

{

"id": "56680e0d-d2a3-4ae1-80d8-3c4f2100e3d0",

"type": "Scope"

}

]

},

{

"resourceAppId": "00000003-0000-0000-c000-000000000000",

"resourceAccess": [

{

"id": "0c3e411a-ce45-4cd1-8f30-f99a3efa7b11",

"type": "Scope"

},

{

"id": "767156cb-16ae-4d10-8f8b-41b657c8c8c8",

"type": "Scope"

},

{

"id": "2f9ee017-59c1-4f1d-9472-bd5529a7b311",

"type": "Scope"

},

{

"id": "4e46008b-f24c-477d-8fff-7bb4ec7aafe0",

"type": "Scope"

},

{

"id": "741c54c3-0c1e-44a1-818b-3f97ab4e8c83",

"type": "Scope"

},

{

"id": "205e70e5-aba6-4c52-a976-6d2d46c48043",

"type": "Scope"

},

{

"id": "a154be20-db9c-4678-8ab7-66f6cc099a59",

"type": "Scope"

}

]

}

],