Microsoft Teams における権限

Slack から Microsoft Teams への移行に対して移行先 Teams 接続を追加する場合、アカウントには以下の権限が付与されていることを確認してください。

サービス アカウント権限

サービス アカウント認証方法を使用する場合、Teams 接続を追加するサービス アカウントが以下の要件を満たしていることを確認してください。

    Microsoft Teams 用のライセンス

    移行先が Microsoft 365 Multi-Geo テナントである場合、移行先サービス アカウントが Microsoft 365 全体管理者、SharePoint 管理者、Exchange 管理者であることを確認してください。

    移行先チームのチーム所有者

*注意: サービス アカウントは Teams 管理者でありながらチーム所有者ではない場合、FLY は自動的にアカウントをチーム所有者として追加します。移行の実行後、PowerShell を使用してサービス アカウントを削除するか、または直接にサービス アカウントをブロックすることができます。サービス アカウントは Teams 管理者ではない場合、手動でサービス アカウントをチーム所有者として追加する必要があります。

PowerShell を使用してユーザーの所有者ロールを削除する方法については、以下の説明を参照してください。

i.   エージェント サーバー上の ...\APElements\FLY\Agent\bin\MicrosoftTeams ディレクトリで AddTeamOwner.ps1 を右クリックして、PowerShell で実行 を選択します。

ii.  資格情報を入力して、[OK] をクリックして PowerShell ウィンドウを開きます。

iii. 所有者ロールを削除するユーザーのメール アドレスを入力して、キーボードの Enter キーを押します。

iv. ユーザーの所有者ロールをチームから削除する場合、N を入力して、キーボードの Enter キーを押します。

ユーザーに所有者ロールを再追加するには、Y を入力して、キーボードの Enter キーを押します。

アカウントをブロックするには、Microsoft 365 管理センター > ユーザー に移動して、ユーザーの表示名をクリックします。ユーザーのブロック (Block this user icon) アイコンをクリックして、ユーザーによるサインインをブロックする を選択して変更を保存します。

    Slack チャンネルをプライベート チャネルを移行先チームのプライベート チャネルに移行する場合、サービス アカウントが移行先プライベート チャネルの所有者またはメンバーであることを確認してください。FLY は、サービス アカウントを移行先プライベート チャネルの所有者として自動追加します。

アプリ プロファイル権限

アプリ プロファイルで FLY Azure AD アプリの使用またはアプリの新規作成を選択する場合、アカウントが Microsoft 365 テナントの 全体管理者 であることを確認してください。移行先チームが存在しない場合、FLY は移行先にチームを作成する際にアカウントをチームの所有者として自動追加します。また、チャネルをプライベート チャネルに移行する際に以下のことに注意してください。

    移行先のチームが既存のチームですが、移行先のプライベート チャネルが存在しない場合、FLY は移行中にアカウントをチームのメンバーおよびプライベート チャネルの所有者として自動追加します。

    移行先のチームと移行先のプライベート チャンネルの両方が存在しない場合、FLY は移行中にアカウントをチームの所有者とプライベート チャンネルの所有者として自動追加します。

アプリの承認時に承諾する必要がある権限は以下のとおりです。

    Sign in and read user profile

    Read and write items in all site collections

    Read all published labels and label policies for an organization.

    Read and write all users' full profiles

    Read all chat messages

    Read all channel messages

    Read and write all groups

    Read directory data

    Read and write calendars in all mailboxes

    Add and remove members from all teams

    Add and remove members from all channels

    Create chat and channel messages with anyone's identity and with any timestamp

    Read all unified policies of the tenant.

    Create protected content on behalf of a user

    Read protected content on behalf of a user

    Read all protected content for this tenant

    Create protected content

    Manage Exchange As Application

    Use Exchange Web Services with full access to all mailboxes

    Have full control of all site collections

    Read and write managed metadata

    Read and write user profiles

アプリ プロファイルでカスタム アプリの使用を選択する場合、承認済みアカウントが Microsoft Teams のライセンスを持っている必要があります。カスタムアプリにはこれらの権限が付与されていることを確認してください。

API

権限名

説明

タイプ

注記

Microsoft Graph

Directory.Read.All

Read directory data

アプリケーション

 

Group.ReadWrite.All

Read and write all groups

アプリケーション

 

Sites.ReadWrite.All

Read and write items in all site collections (preview)

アプリケーション

 

User.Read.All

Read all users' full profiles

アプリケーション

 

ChannelMember.ReadWrite.All

Add and remove members from all channels

アプリケーション

 

ChannelMessage.Read.All

Read user channel messages

アプリケーション

 

TeamMember.ReadWrite.All

Add and remove members from all teams

アプリケーション

 

Teamwork.Migrate.All

Create chat and channel messages with anyone’s identity and with any timestamp

アプリケーション

Required in migrations using the Advanced method.

SharePoint

Sites.FullControl.All

Have full control of all site collections

アプリケーション

 

User.ReadWrite.All

Read and write user profiles

アプリケーション

 

 

簡単に使用するため、以下のコマンドを使用して、マニフェスト と介して必要な API 権限を追加することができます。

"requiredResourceAccess": [

        {

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

            "resourceAccess": [

                {

                    "id": "741f803b-c850-494e-b5df-cde7c675a1ca",

                    "type": "Role"

                },

                {

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

                    "type": "Role"

                }

            ]

        },

        {

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

            "resourceAccess": [

                {

                    "id": "9492366f-7969-46a4-8d15-ed1a20078fff",

                    "type": "Role"

                },

                {

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

                    "type": "Role"

                },

                {

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

                    "type": "Role"

                },

                {

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

                    "type": "Role"

                },

                {

                    "id": "7ab1d382-f21e-4acd-a863-ba3e13f7da61",

                    "type": "Role"

                },

                {

                    "id": "0121dc95-1b9f-4aed-8bac-58c5ac466691",

                    "type": "Role"

                },

                {

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

                    "type": "Role"

                },

                {

                    "id": "dfb0dd15-61de-45b2-be36-d6a69fba3c79",

                    "type": "Role"

                }

            ]

        }

    ],