Closed dspencelink closed 1 year ago
I finally figured it out! I finally noticed that the Connection Pre-check was querying for a connection ID that existed in Prod but not in QA but the query was looking for that ID in QA environment (which didn't exist obviously). In the ALM Accelerator for Admins app, I had previously renamed the default deployment steps of Validation --> Test --> Prod to be named 'Test --> QA --> Prod' to reflect our naming standards. I had also updated the 'EnvironmentName' of the Test environment to be QA so it showed QA everywhere I could find and in all variables. There must be something hardcoded in the deployment steps where it didn't like that so renaming back to the default fixed the issue.
Describe the issue
This issue has stumped me for days. We have a Solution with a flow, a power app, 4 environment variables and 4 connection references. I use ALM Accelerator to commit the solution to Azure DevOps, then when I try to deploy to QA environment, the step named 'Import Managed Solution as Update' fails every time. If I enable debugging on the pipeline, this is the error:
If I run Get-AdminPowerAppConnection in powershell, I can find that connection ID in our Prod environnment (I'm deploying to QA).
I can see the connection in Prod and QA and they show as connected. I even tried creating new connections and a completely new Solution with new app and connection references. Help? Thanks.
Expected Behavior
I'm able to deploy other solutions to QA, just this one is giving me fits. I should be able to deploy to QA and prod.
What component are you experiencing the issue with?
Import Managed Solution as Update task in platform builder tools
What solution version are you using?
1.0.20230802.1
Steps To Reproduce
Anything else?
No response