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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure DevOps Pipeline PowerPages Fails

mikevalentinecanteen opened this issue · comments

Describe the bug
The issue with Azure DevOps pipelines not being able to deploy portals using the CLI has returned. I had reported this May 24 and it was resolved however I think the latest update to the PAC CLI that was merged yesterday broke this again.

To Reproduce
Run a DevOps pipeline job that deploys portals. It will fail with the error message:

2024-07-10T20:21:42.4065602Z Error: Power Pages entities for standard data model (v1) aren't available on this org, please install required packages on this org. If you are trying to upload to enhanced data model (v2), pass model version as "2". For more information see https://learn.microsoft.com/en-us/power-pages/admin/enhanced-data-model#data-model-power-platform-cli-parameters .

Expected behavior
The portal to deploy to downstream environments.

Azure DevOps using Windows-Latest image.

How can I roll back the version DevOps uses for deployments. We have a production release Friday night and it’s 100% critical that this is successful. Should I open a Sev A support ticket?

Sorry you are having this issue. We are in process of rolling out the fix

Should now be resolved with v2.0.74
Note that ADO may take a few minutes to pick up the change, and the version used in any given pipeline run can be found at the top of the logs for any of the PPBT tasks.