Announcements
Hi,
I am creating a build pipeline using PowerApps build tools however it is failing at Command line script stage with the attached error.
Any idea why this check in/commit step would fail?
https://docs.microsoft.com/en-us/power-platform/alm/devops-build-tools
Thanks
I had this error to when I set up my pipelines. I had copied code from somewhere else for the command line.
Check in your DevOps repo what the branch is called. I noticed that when I set mine up, it wasn't using 'master' it was using 'main'.
In the command line script, change where it says master to main and see if that fixes it.
Hi @Anonymous
thanks, I should have mentioned that I had noticed the same when copied the code and change the branch name to "main" given my branch is called main, however no luck. I still had the same error.
Given your comments, I tried again the same again today and it works... certainly magic.
Thanks again.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 88
WarrenBelz 85 Most Valuable Professional
Valantis 45