I was testing PowerApps build tool for PoC. I created a simple build pipeline which was simply exporting a solution from the env. The task ran for about 60 minutes and then time out without giving an error. Can anybody tell me what I am doing wrong?
Thanks and Regards
Should be straight forward, and take less than a minute (depending on your solution components). I see you have an extra step in pipeline tasks. Just as a test and to isolate the issue, can you creating a new empty Release pipeline with 2 tasks: PowerApps Tool Installer and PowerApps Export Solution. And create a temporary solution with just an entity to export?
Thanks for the reply
I have created the pipeline by just using two tasks which you have mentioned. I think the issue lies with my account. MFA is enabled on my account and it creating a blocker for the export solution task.
I had a similar issue in the past weeks and opened a support case with Microsoft. The answer that I got from MS Support was : If a Web Request takes more than 20 minutes to complete, the CRM Platform is cutting the connection at a TCP level, hence you won't see any error at an application level (HTTP). Eventually once the HTTP Timeout is reached, you see the exception - even though the connection might have been closed earlier.
What I would advise in this case is:
1. Check with MS Support why the export takes this long - more than 20 minutes
2. Build a retry and if the first export failed, tried the export again. I've seen cases when this worked. It is not the prettiest solution but at least gets the job done.
Hope this helps
Yes, but sorry I forgot to mention an important step and not sure if we can "truly" consider with client ID and secret. It was in my other custom DevOps PowerShell steps that I use client ID and secret... Basically, I also created that user in Office 365 (no license assigned) and made sure that the CDS application user's username was the same as in O365. I then use the O365 username and password in the service connection.
Check out the News & Announcements to learn more.
Did you know that you can visit the Power Query Forum in Power BI and now Power Apps
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.