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".
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.