Applies to Product - Power Pages
What’s happening?
Users are encountering an error message stating that the command "pac powerpages migrate-datamodel" is not a valid command when attempting to migrate standard data model sites to the enhanced data model.
Reason:
This may arise due to the use of an incorrect command format or a potential bug in the migration tool for the Enhanced Data Model, which is currently in a preview state.
Resolution:
- Replace the command "pac powerpages migrate-datamodel" with "pac pages migrate-datamodel" and try again using the following format: pac pages migrate-datamodel --webSiteId [WebSiteId-GUID] --mode [type-of-data]
- If the command still does not work, check the settings in the Power Platform Admin for blocked file extensions. Specifically, ensure that the ".svg" mime type is not blocked. To do this:
- Navigate to Administration > General > Under "Set blocked file extensions for attachments", remove "svg" and save the changes.
- If this, persists, consider creating a new portal with the Enhanced Data Model and migrating data from the existing standard data model portal to the new one, following the guidelines provided in the migration documentation.
