-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azure DevOps Pipeline PowerPages Fails #1025
Comments
Having same issue using
|
I can confirm this broke with version 1.34.3 of the CLI |
This broke in our environment as well. Worked on August 21st but is breaking now today. From the devops log: Task : Power Platform Upload PAPortal |
Has anyone managed to find a workaround? Possible to specify a specific version of the build tools? |
I’ve reverted back to deploying locally. Not ideal but it works. |
Unfortunately our client does not allow that, so we're stuck until a fix is deployed. |
Just to draw more attention to the problem... we also have this exact problem. |
Hello,
It worked perfectly fine three weeks ago but when we start our pipeline now this error occours. We didn't change anything on our site. |
Failing for me on two environments but working on a different one. I guess the environments are subtlety different but it was working on both before. |
I was having this issue as well and have worked around it by switching to a PowerShell task in ADO temporarily so that I can specify the CLI version. I run commands like the following: dotnet tool install --global Microsoft.PowerApps.CLI.Tool --version 1.33.5
pac auth create -mi -env XXX
pac pages upload --path XXX --deploymentProfile XXX --modelVersion 1
|
To build on this, if you need to authenticate using a service connection I use this task to extract the connection info
Then you can extract the appId, secret and tenant like so
|
Hey Thanks, |
We had exactly the same problem, in our azure pipeline we were running the "Latest Version" of the CLI and thats where the issue hit! I copied in the version you were running @ManuLeaN on your local and it started magicly working! |
Describe the bug
Last few days our PowerPages pipeline has started failing. It is giving the following error:
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 .
It's a V1 portal. The pipeline was working properly before.
Logs.txt
To Reproduce
Steps to reproduce the behavior:
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.
The text was updated successfully, but these errors were encountered: