I am getting error Teamwork.Migrate.All role is needed

Vinod Kumar Isaac 20 Reputation points
2023-05-26T21:13:58.72+00:00

I am trying to create Team in migration mode to migrate from on tenant to another.

Graph API is returning error
{"error":
{"code":"Forbidden",
"message":"Teamwork.Migrate.All role is needed"
"date":"2023-05-26T21:07:05"
,"request-id":"05798113-85f8-4224-9fbe-f60026e93e7d"

I already have Teamwork.Migrate.All role assigned and also in api permissions Teamwork.Migrate.All has admin consent.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,575 questions
{count} votes

Accepted answer
  1. CarlZhao-MSFT 36,891 Reputation points
    2023-05-29T02:41:00.4933333+00:00

    Hi @Vinod Kumar Isaac

    Is "Teams Migration" your custom app? If you are using the graph API to create a team in migration state, then you should grant the Teamwork.Migrate.All application permission under "Microsoft Graph".

    1

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful