web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

BC23 CLoud migration - setup failed to prepare the systems for replication

(1) ShareShare
ReportReport
Posted on by 29
HI, 
 
Has anyone got this error, where tyring to setup the cloud migration? 
 
Error message: 

Failed to prepare the systems for replication.


The call to prepare servers failed. Run id='', ErrorMessage='Operation on target NotifyBusinessCentral failed: {/StatusCode/:/NotFound/,/StatusMessage/:/Non-tenant specific requests should have an environment type specified./}'
 
AL call stack: 

/Hybrid Deployment/(CodeUnit 6060).RetryGetStatus line 22 - Base Application by Microsoft

/Hybrid Deployment/(CodeUnit 6060).RetryGetStatus line 2 - Base Application by Microsoft

/Hybrid Deployment/(CodeUnit 6060).EnableReplication line 23 - Base Application by Microsoft

/Hybrid Cloud Management/(CodeUnit 4001).EnableReplication line 8 - Intelligent Cloud Base by Microsoft

/Hybrid Cloud Management/(CodeUnit 4001).HandleShowCompanySelectionStep line 8 - Intelligent Cloud Base by Microsoft

/Hybrid Cloud Setup Wizard/(Page 4000).ShowCompanySelectionStep line 5 - Intelligent Cloud Base by Microsoft

/Hybrid Cloud Setup Wizard/(Page 4000).NextStep line 40 - Intelligent Cloud Base by Microsoft

/Hybrid Cloud Setup Wizard/(Page 4000)./ActionNext - OnAction/(Trigger) line 35 - Intelligent Cloud Base by Microsoft
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,307 Super User 2025 Season 2 on at
    BC23 CLoud migration - setup failed to prepare the systems for replication
    It looks like the database cannot be accessed, or there is a problem with the database. Hope the following can give you some hints.
     
     
     
    Thanks.
    ZHU
  • Andreea85 Profile Picture
    29 on at
    BC23 CLoud migration - setup failed to prepare the systems for replication
    thank you Zhu, I have checked all the settings already on that page and it definetely not to do with the database. 
    i did do another cloud migration on Saturday on a diffrent db and that worked. 
    Same db that worked on Saturday, just retried it and it doesnt work with same error. 
    So its probably a bug in the runtime or in the BC cloud migration setup. 
     
    thanks anyway
  • Andreea85 Profile Picture
    29 on at
    BC23 CLoud migration - setup failed to prepare the systems for replication
    Got confirmation from MS that is to do with the BC24 version being postponed and this is affecting the cloud migration too. 
  • Nicu Profile Picture
    7 on at
    BC23 CLoud migration - setup failed to prepare the systems for replication
    Hello,
     
    I have the exact same problem trying to migrate to BC 24. 
  • Suggested answer
    Dynamics Singh Profile Picture
    7 on at
    BC23 CLoud migration - setup failed to prepare the systems for replication
     
    Hi, I am also facing the same issue while performing cloud migration setup.
     
     
    Any further update from Microsoft?
     
     
  • Andreea85 Profile Picture
    29 on at
    BC23 CLoud migration - setup failed to prepare the systems for replication
    Nothing yet, they have said the hotfix is on way, but it will probably be released at same time with the BC24 release. 
  • Suggested answer
    MS-03050915-0 Profile Picture
    8 on at
    BC23 CLoud migration - setup failed to prepare the systems for replication
    Meanwhile...
     
    If you have a production/sandbox enviroment that is still on version 23... you can take a copy of that, and use that for migration.
     
    It worked for me anyway :)
  • MA-03051001-0 Profile Picture
    2 on at
    BC23 CLoud migration - setup failed to prepare the systems for replication
    Hi, Same error while performing cloud migration on BC24
     
    ErrorMessage='Operation on target NotifyBusinessCentral failed: {"StatusCode":"NotFound","StatusMessage":"Non-tenant specific requests should have an environment type specified."}'
     
    any solution ?
  • Verified answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at
    BC23 CLoud migration - setup failed to prepare the systems for replication
  • Suggested answer
    Dynamics Singh Profile Picture
    7 on at
    BC23 CLoud migration - setup failed to prepare the systems for replication
    Good evening. I attempted to set up a cloud migration yesterday and was able to complete it successfully
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,377

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,696 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,512 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans