team: completeMigration

Namespace: microsoft.graph

Complete the message migration process by removing migration mode from a team. Migration mode is a special state where certain operations are barred, like message POST and membership operations during the data migration process.

After a completeMigration request is made, you cannot import additional messages into the team. You can add members to the team after the request returns a successful response.


The following permission is required to call this API. To learn more, see Permissions.

Permission type Permission
Delegated (work or school account) Not supported.
Delegated (personal Microsoft account) Not supported.
Application Teamwork.Migrate.All

HTTP request

POST /teams/{team-id}/completeMigration

Request headers

Header Value
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.


If successful, this method returns a 204 No Content response code. It does not return anything in the response body.



The following is an example of the request.



The following is an example of the response.

HTTP/1.1 204 No Content