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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / errors when migrating ...
Power Pages
Answered

errors when migrating site from dev to prod

(0) ShareShare
ReportReport
Posted on by 120

I've tried both the recommended ways of preparing my target (production) environment:  (1) switch target to enhanced data model, and (2) make a dummy site with same template then delete the website record, etc. I'm using Power Platform CLI to do the migration, since the site was built under the standard data model. Everything else the site touches has been migrated using a solution.

 

In both cases, CLI loads the manifest, but then the upload encounters a slew of errors, all of the type "XRM network error...entity adx_<name>...was not found in the MetadataCache".  It still claims to have "created record(s) for table: adx_<name>. 

 

But nothing shows up in the target environment as an Inactive Site. 

 

Suggestions? thx

Categories:
I have the same question (0)
  • Verified answer
    eugenevanstaden Profile Picture
    441 on at

    Can you use the PAC cli to download the portal locally and the upload to the prod instance?

     

    The old datamodel entities will all have the adx_ prefix. The target and source must both be on enhanced or old model, not different

  • StewC Profile Picture
    120 on at

    thanks @eugenevanstaden -- your diagnosis is correct: I downloaded an old-model site, and tried to upload it to a production environment that is configured for new model.  I must have missed that caveat in the "migrate site" dox!

     

    Yes, I was able to use PCA CLI successfully to download.  It was the upload that failed, no matter what prep I did of the target environment.

     

    thx

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 64

#2
DP_Prabh Profile Picture

DP_Prabh 34

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 30 Most Valuable Professional

Last 30 days Overall leaderboard