Hi experts,
I am using Microsoft Power Platform CLI to download portal content in VS2019 Terminal , and I have installed Power Platform VS Code Extension in advanced.
I followed steps on this doc https://docs.microsoft.com/en-us/powerapps/maker/portals/power-apps-cli-tutorial#download-and-install-visual-studio-code
A few days ago, I was able to download the portal content successfully.
But recently, whenever I download portal content, I get an error.
Sorry, the app encountered a non recoverable error and will need to terminate. The exception details have been captured and will be forwarded to the development team, if telemetry has been enabled. Exception Id: bf9cefc4-875b-a844-1b00425a16da.
This error occurred after I ran pac paportal download --path [PATH] -id [WebSiteId-GUID]. After I ran it, VS started to download the portal content, but when it was about to complete the download, the error appeared, and some of the downloaded files seemed to have something wrong.
Please share some ideas to solve this error.
Thanks.
Hi. I am experiencing similar problem as OP,. I have tried suggestions in the topic and the task is still not running. I have opened new topic here -> https://powerusers.microsoft.com/t5/General-Discussions/Power-portal-extension-in-dev-ops-fails-on-Power-Portal-Download/m-p/1822113#M1247
Please let me know if you know resolution to the stated problem.
Kind Regards
Piotr
Hi @BruceLu,
I don't know what this error means or its cause, but a workaround is to create a new local directory for your Portal files, and change your CLI command to download a fresh set of Portal files into it. Seems to work fine after doing that.
Hi @BruceLu ,
Maybe you find more details in the logs.
If you use the standalone "pac cli msi", you find them here:
%localappdata%\Microsoft\PowerAppsCLI\Microsoft.PowerApps.CLI.X.X.X\tools\logs
Just replace the X.X.X with your CLI version.
If you use the VSCode, as in the screenshot above, you find the logs here:
%appdata%\code\User\globalStorage\microsoft-isvexptools.powerplatform-vscode\pac\tools\logs
Hope this helps!
WarrenBelz
146,653
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,999
Most Valuable Professional