Wednesday 24 May 2023

Company creation failed with error in the Cloud Migration Tool – Business Central 22

 

Problem: We encountered the following error while running the Cloud Migration tool on the BC22 version.


We got the below details from the “Copy details” of the above screenshot.

 


If requesting support, please provide the following details to help troubleshooting:

Company creation failed with error Sorry, the current permissions prevented the action. (TableData Company Insert: Base Application). Please fix this and re-run the Cloud Migration Setup wizard.

Internal session ID: 
94e97f8f-95ae-46a4-a7b6-98c79e7a7dc3

Application Insights session ID: 
1379aeac-c297-4b34-a0a5-1ae811dd898c

Client activity id: 
10d32b54-bd85-464c-a6df-355bc967b607

Time stamp on error: 
2023-05-23T10:32:24.1598995Z

AL call stack: 
"Hybrid Cloud Management"(CodeUnit 4001).VerifyCanStartReplication line 11 - Intelligent Cloud Base by Microsoft
"Cloud Migration Management"(Page 40063)."RunReplicationNow - OnAction"(Trigger) line 4 - Intelligent Cloud Base by Microsoft

 

The User has SUPER permission set assigned.

Solution: Please check if the BC license is assigned to the user from M365.

The above error was resolved after assigning a BC license to the user from M365 (Office).