Hi Matilda,
Thanks for reaching out!
I can understand that you are trying to use Graph API -
POST /teams/{team-id}/completeMigration to complete migration via Graph explorer.
As per the document Teams Migration supports only Application permissions
.
Delegated permissions are not supported for migration of teams.
If you are looking to Import third-party platform messages to Teams using Microsoft Graph - refer here
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".