Skip to content

Latest commit

 

History

History
124 lines (90 loc) · 4.15 KB

File metadata and controls

124 lines (90 loc) · 4.15 KB
title team: completeMigration
description Complete the migration of external messages by removing migration mode from a team.
ms.localizationpriority medium
author RamjotSingh
ms.subservice teams
doc_type apiPageType
ms.date 04/04/2024

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 can't import additional messages into the team. You can add members to the team after the request returns a successful response.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

HTTP request

POST /teams/{team-id}/completeMigration

Request headers

Header Value
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 204 No Content response code. It doesn't return anything in the response body.

Example

Request

Here's an example of the request.

POST https://graph.microsoft.com/v1.0/teams/57fb72d0-d811-46f4-8947-305e6072eaa5/completeMigration

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

Here's an example of the response.

HTTP/1.1 204 No Content