microsoft / powerplatform-build-tools

Power Platform Build Tools automate common build and deployment tasks related to Power Platform. This includes synchronization of solution metadata (a.k.a. solutions) between development environments and source control, generating build artifacts, deploying to downstream environments, provisioning/de-provisioning of environments, and the ability to perform static analysis checks against your solution using the PowerApps checker service.
MIT License
184 stars 38 forks source link

Power Pages data model migration issue with non-English sites #822

Open gjerm opened 5 months ago

gjerm commented 5 months ago

After running the command to migrate the data model for our Power Pages site: pac powerpages migrate-datamodel --webSiteId <siteId> –-mode all

I checked the migration status with pac powerpages migrate-datamodel --webSiteId <siteId> --checkMigrationStatus, and saw that it was set to "Fullført", the Norwegian word for Completed. So I ran the migration:

pac powerpages migrate-datamodel --webSiteId <siteId> --updateDatamodelVersion --portalId <portalId>

And just got the response about the current migration status, without the actual migration being run. Since I had successfully done this on another Power Pages site that was in English, I noticed that there the status was listed as "Completed" and it worked as it should. In the Norwegian environment, I went to the table adx_websitemigrationtracker and edited the Choice column adx_migrationstatus so that the label for the completed status read "Completed" rather than "Fullført". After doing this, I ran the final migration step again and the data model migration finished successfully.

It seems like there is a bug where the migration status gets checked against the English word "Completed" rather than being language agnostic as was expected.

MrRishabhJain commented 1 week ago

This is a known issue - https://admin.powerplatform.microsoft.com/knownissues/4305713

The above link has a workaround to the problem. We are working towards fixing this.

varun6288 commented 1 week ago

Same for me still showing Running Status after 3 hrs. For us base language is English only.

MrRishabhJain commented 6 days ago

Hey @varun6288, if your base language is English, then I would suggest you to create a separate issue. As the issue being discussed in this thread is only around - https://admin.powerplatform.microsoft.com/knownissues/4305713