テナント所有者またはサービス管理者のロールを持っている場合、AvePoint Online Services > 管理 > アプリ管理 でカスタム アプリ プロファイルを作成して、カスタム Azure アプリを使用している Microsoft 365 テナントに接続することができます。
カスタム アプリ プロファイルを作成するには、以下の説明を参照してください。
1. Microsoft Entra ID で証明書を準備します。詳細については、カスタム Azure アプリ用の証明書の準備 を参照してください。
証明書がある場合、このステップを無視することができます
2. Microsoft Entra IDでカスタム Azure アプリを作成します。詳細については、カスタム アプリの作成 を参照してください。
3. テナントを AvePoint Online Services に接続 します。
4. AvePoint Online Services で カスタム Azure アプリ用アプリ プロファイルを作成 します。
*注意: アプリ プロファイルの再承認時に権限の更新がある場合、承認後、アプリ プロファイルがトークンの更新を完了するまで約 1 時間がかかります。その間、アプリ プロファイルを移行の実行に使用することはできません。
以下の表の内容に従って、カスタム Azure アプリに Microsoft Teams 移行に必要な API アクセス許可を追加してください。
API |
アクセス許可 |
タイプ |
必要となる理由 |
Microsoft Information Protection Sync Service |
UnifiedPolicy.Tenant.Read (Read all unified policies of the tenant.) |
アプリケーション |
ファイル / メール / チームの秘密度ラベルを管理する場合にのみ必要です。 |
Microsoft Graph
|
Directory.ReadWrite.All (Read and write directory data) |
アプリケーション |
移行先テナントが Multi-Geo テナントである場合のみ、移行先チームは定義された場所で作成される必要があります。または、カスタム アプリに Microsoft 365 グローバル管理者、SharePoint 管理者、Exchange 管理者 ロールを割り当てることができます。ロール割り当ての例として、Exchange 管理者ロールのアプリへの割り当て方法 を参照してください。 |
Domain.Read.All (Read domains) |
アプリケーション |
ドメインを読み込みます。 | |
RoleManagement.Read.Directory (Read all directory RBAC settings) |
アプリケーション |
Microsoft グローバル グループを取得します。 | |
Group.ReadWrite.All (Read and write all groups) |
アプリケーション |
Microsoft 365 グループおよびグループ データを移行します。 | |
Sites.ReadWrite.All (Read and write items in all site collections) |
アプリケーション |
チーム サイトおよびプライベート / 共有チャネルのサイト コレクションのチャネル フォルダーおよびファイルを移行します。 | |
User.Read.All (Read all users’ full profiles) |
アプリケーション |
Microsoft 365 ユーザー プロファイルの情報を取得します。 | |
InformationProtectionPolicy.Read.All (Read all published labels and label policies for an organization) |
アプリケーション |
ファイル / メール / チームの秘密度ラベルを管理する場合にのみ必要です。 | |
ChannelMember.ReadWrite.All |
アプリケーション |
プライベート / 共有チャネルのメンバーを移行します。 | |
Teamwork.Migrate.All |
アプリケーション |
チームおよびチャネルを作成し、メッセージの送信者およびタイムスタンプを指定してチャネル メッセージを移行することができます。 | |
TeamworkTag.ReadWrite.All |
アプリケーション |
タグを移行します。 | |
TeamMember.ReadWrite.All (Add and remove members from all teams) |
アプリケーション |
チーム メンバーを移行します。 | |
Channel.Create (Create channels) |
アプリケーション |
チャネルを作成します。 | |
ChannelSettings.ReadWrite.All (Read and write the names, descriptions, and settings of all channels) |
アプリケーション |
チャネル設定を移行します。 | |
Team.Create (Create teams) |
アプリケーション |
チームを作成します。 | |
TeamSettings.ReadWrite.All (Read and change all teams’ settings) |
アプリケーション |
チーム設定を移行します。 | |
TeamsAppInstallation.ReadWriteForTeam.All (Manage Teams apps for all teams) |
アプリケーション |
チーム アプリを移行します。 | |
TeamsTab.ReadWriteForTeam.All (Allow the Teams app to manage all tabs for all teams) |
アプリケーション |
チーム タブを移行します。 | |
Schedule.ReadWrite.All (Read and write all schedule items) |
アプリケーション |
Teams シフト アプリ データを移行します。 | |
Reports.Read.All (Read all usage reports) |
アプリケーション |
テナント検出にのみ必要です。 | |
Tasks.ReadWrite.All (Read and write all users’ tasks and tasklists) |
アプリケーション |
Planner 内の Planner およびデータを移行先に移行します。 | |
ReportSettings.Read.All (Read all admin report settings) |
アプリケーション |
Microsoft 365 管理センターの レポート 設定を取得します。 | |
Azure Rights Management Services |
Content.DelegatedWriter (Create protected content on behalf of a user) |
アプリケーション |
ファイル / メール / チームの秘密度ラベルを管理する場合にのみ必要です。 |
Content.Writer (Create protected content) |
アプリケーション | ||
Office 365 Exchange Online |
Exchange.ManageAsApp (Manage Exchange As Application) |
アプリケーション |
Exchange PowerShell を使用してメールボックスの権限を取得します。 |
Full_access_as_app (Use Exchange Web Services with full access to all mailboxes) |
アプリケーション |
すべてのメールボックスからアイテムを取得します。 *注意: この権限をアプリに追加しない場合、アプリに RBAC 割り当てを作成して、特定のメールボックスへのアクセス権のみをアプリに付与します。詳細については、アプリケーションの RBAC 割り当ての作成 を参照してください。 | |
SharePoint/Office 365 SharePoint Online
|
Sites.FullControl.All (Have full control of all site collections) |
アプリケーション |
チーム サイトの設定および権限を取得します。 |
TermStore.ReadWrite.All |
アプリケーション |
Managed Metadata Service を取得して移行します。 *注意: 用語グループ / 用語セット / 用語が同じ名前を持っており、かつ移行元のレベル (グローバルまたはローカル レベル) と同じである用語グループ / 用語セット / 用語が移行先に存在する場合、この権限を TermStore.Read.All に変更することができます。 |
簡単に使用するため、以下のコマンドを使用して、マニフェスト を介して必要な API 権限を追加することができます。
"requiredResourceAccess": [
{
"resourceAppId": "00000003-0000-0000-c000-000000000000",
"resourceAccess": [
{
"id": "f3a65bd4-b703-46df-8f7e-0174fea562aa",
"type": "Role"
},
{
"id": "35930dcf-aceb-4bd1-b99a-8ffed403c974",
"type": "Role"
},
{
"id": "243cded2-bd16-4fd6-a953-ff8177894c3d",
"type": "Role"
},
{
"id": "19dbc75e-c2e2-444c-a770-ec69d8559fc7",
"type": "Role"
},
{
"id": "dbb9058a-0e50-45d7-ae91-66909b5d4664",
"type": "Role"
},
{
"id": "62a82d76-70ea-41e2-9197-370581804d09",
"type": "Role"
},
{
"id": "19da66cb-0fb0-4390-b071-ebc76a349482",
"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": "b7760610-0545-4e8a-9ec3-cce9e63db01c",
"type": "Role"
},
{
"id": "9492366f-7969-46a4-8d15-ed1a20078fff",
"type": "Role"
},
{
"id": "44e666d1-d276-445b-a5fc-8815eeb81d55",
"type": "Role"
},
{
"id": "23fc2474-f741-46ce-8465-674744c5c361",
"type": "Role"
},
{
"id": "0121dc95-1b9f-4aed-8bac-58c5ac466691",
"type": "Role"
},
{
"id": "5dad17ba-f6cc-4954-a5a2-a0dcc95154f0",
"type": "Role"
},
{
"id": "bdd80a03-d9bc-451d-b7c4-ce7c63fe3c8f",
"type": "Role"
},
{
"id": "6163d4f4-fbf8-43da-a7b4-060fe85ed148",
"type": "Role"
},
{
"id": "dfb0dd15-61de-45b2-be36-d6a69fba3c79",
"type": "Role"
},
{
"id": "a3371ca5-911d-46d6-901c-42c8c7a937d8",
"type": "Role"
},
{
"id": "df021288-bdef-4463-88db-98f22de89214",
"type": "Role"
}
]
},
{
"resourceAppId": "00000012-0000-0000-c000-000000000000",
"resourceAccess": [
{
"id": "d13f921c-7f21-4c08-bade-db9d048bd0da",
"type": "Role"
},
{
"id": "006e763d-a822-41fc-8df5-8d3d7fe20022",
"type": "Role"
}
]
},
{
"resourceAppId": "00000003-0000-0ff1-ce00-000000000000",
"resourceAccess": [
{
"id": "c8e3537c-ec53-43b9-bed3-b2bd3617ae97",
"type": "Role"
},
{
"id": "678536fe-1083-478a-9c59-b99265e6b0d3",
"type": "Role"
}
]
},
{
"resourceAppId": "00000002-0000-0ff1-ce00-000000000000",
"resourceAccess": [
{
"id": "dc890d15-9560-4a4c-9b7f-a736ec74ec40",
"type": "Role"
},
{
"id": "dc50a0fb-09a3-484d-be87-e023b12c6440",
"type": "Role"
}
]
},
{
"resourceAppId": "870c4f2e-85b6-4d43-bdda-6ed9a579b725",
"resourceAccess": [
{
"id": "8b2071cd-015a-4025-8052-1c0dba2d3f64",
"type": "Role"
}
]
}
],
API |
アクセス許可 |
タイプ |
必要となる理由 |
Microsoft Graph |
Domain.Read.All (Read domains)
|
アプリケーション |
ドメインを取得します。 |
RoleManagement.Read.Directory (Read all directory RBAC settings) |
アプリケーション |
Microsoft グローバル グループを取得します。 | |
Group.ReadWrite.All (Read and write all groups) |
アプリケーション |
Microsoft 365 グループおよびグループ データを移行します。 | |
Sites.ReadWrite.All (Read and write items in all site collections) |
アプリケーション |
チーム サイトおよびプライベート / 共有チャネルのサイト コレクションのチャネル フォルダーおよびファイルを移行します。 | |
User.Read.All (Read all users’ full profiles) |
アプリケーション |
Microsoft 365 ユーザー プロファイルの情報を取得します。 | |
ChannelMember.ReadWrite.All (Add and remove members from all channels) |
アプリケーション |
プライベート / 共有チャネルのメンバーを移行します。 | |
Teamwork.Migrate.All (Create chat and channel messages with anyone’s identity and with any timestamp) |
アプリケーション |
チームおよびチャネルを作成し、メッセージの送信者およびタイムスタンプを指定してチャネル メッセージを移行することができます。 | |
TeamworkTag.ReadWrite.All (Read and write tags in Teams) |
アプリケーション |
タグを移行します。 | |
TeamMember.ReadWrite.All (Add and remove members from all teams) |
アプリケーション |
チーム メンバーを移行します。 | |
Channel.Create (Create channels) |
アプリケーション |
チャネルを作成します。 | |
ChannelSettings.ReadWrite.All (Read and write the names, descriptions, and settings of all channels) |
アプリケーション |
チャネル設定を移行します。 | |
Team.Create (Create teams) |
アプリケーション |
チームを作成します。 | |
TeamSettings.ReadWrite.All (Read and change all teams’ settings) |
アプリケーション |
チーム設定を移行します。 | |
TeamsAppInstallation.ReadWriteForTeam.All (Manage Teams apps for all teams) |
アプリケーション |
チーム アプリを移行します。 | |
TeamsTab.ReadWriteForTeam.All (Allow the Teams app to manage all tabs for all teams) |
アプリケーション |
チーム タブを移行します。 | |
Office 365 Exchange Online |
Exchange.ManageAsApp (Manage Exchange As Application) |
アプリケーション |
Exchange PowerShell を使用してメールボックスの権限を取得します。 |
Full_access_as_app (Use Exchange Web Services with full access to all mailboxes) |
アプリケーション |
すべてのメールボックスからアイテムを取得します。 *注意: この権限をアプリに追加しない場合、アプリに RBAC 割り当てを作成して、特定のメールボックスへのアクセス権のみをアプリに付与します。詳細については、アプリケーションの RBAC 割り当ての作成 を参照してください。 | |
SharePoint/Office 365 SharePoint Online |
Sites.FullControl.All (Have full control of all site collections) |
アプリケーション |
チーム サイトの設定および権限を取得します。 |
TermStore.ReadWrite.All (Read and write managed metadata) |
アプリケーション |
Managed Metadata Service を取得して移行します。 *注意: 用語グループ / 用語セット / 用語が同じ名前を持っており、かつ移行元のレベル (グローバルまたはローカル レベル) と同じである用語グループ / 用語セット / 用語が移行先に存在する場合、この権限を TermStore.Read.All に変更することができます。 |
簡単に使用するため、以下のコマンドを使用して、マニフェスト を介して必要な API 権限を追加することができます。
"requiredResourceAccess": [
{
"resourceAppId": "00000003-0000-0000-c000-000000000000",
"resourceAccess": [
{
"id": "8ec18291-78b7-4fa1-aaa7-0a5d10d00579",
"type": "Role"
},
{
"id": "8c07be71-1e68-4c34-9ddc-a9dcdb316eb7",
"type": "Role"
},
{
"id": "2da62ce8-5a78-495e-9e9c-369817e4c130",
"type": "Role"
},
{
"id": "b8b3793a-307b-47a7-8f35-2168c3bdbce3",
"type": "Role"
},
{
"id": "62a82d76-70ea-41e2-9197-370581804d09",
"type": "Role"
},
{
"id": "483bed4a-2ad3-4361-a73b-c83ccdbdc53c",
"type": "Role"
},
{
"id": "e6a20c00-0962-428c-b0b8-bf53df771ac7",
"type": "Role"
},
{
"id": "d18bc5b2-cc48-476b-9623-15bc9b2d3ea6",
"type": "Role"
},
{
"id": "86259e93-a26b-4320-813f-00dcf11b9997",
"type": "Role"
},
{
"id": "a7c89ead-d188-443d-8f10-e28dc093b303",
"type": "Role"
},
{
"id": "4c57df52-0e14-43e0-9301-b05870243e1b",
"type": "Role"
},
{
"id": "ab53b2e5-a78e-4617-9194-5e730eb33730",
"type": "Role"
},
{
"id": "9752a293-c45f-4bee-9a9a-5f728c80c276",
"type": "Role"
},
{
"id": "392dfd33-fd79-41a3-8b29-0ce91d4a20d2",
"type": "Role"
},
{
"id": "df021288-bdef-4463-88db-98f22de89214",
"type": "Role"
}
]
},
{
"resourceAppId": "00000002-0000-0ff1-ce00-000000000000",
"resourceAccess": [
{
"id": "dc890d15-9560-4a4c-9b7f-a736ec74ec40",
"type": "Role"
},
{
"id": "dc50a0fb-09a3-484d-be87-e023b12c6440",
"type": "Role"
}
]
},
{
"resourceAppId": "00000003-0000-0ff1-ce00-000000000000",
"resourceAccess": [
{
"id": "678536fe-1083-478a-9c59-b99265e6b0d3",
"type": "Role"
},
{
"id": "c8e3537c-ec53-43b9-bed3-b2bd3617ae97",
"type": "Role"
}
]
}
],