When using "PowerApps Solution import" task with a managed solution, we get an error: "Connector import: FAILURE: One or more errors occurred". Our solution contains:
- Canvas PowerApp
- Power Automate Flow
- Custom Connector
The app uses: a) the connector to populate dropdowns and b) the flow to perform some logic. In turn, the flow uses the same custom connector, plus two standard connectors, as part of its logic.
Following this Microsoft Hands-on-lab, we are able to get through all the steps (but the last one):
- We have created the Pipeline that exports the solution from DEV environment and commits it to the source repo. It runs OK
- We have created the Pipeline that imports the unmanaged solution to a build (BLD) environment and exports it as managed solution, generating an artifact. (Note: we added a "PowerApps Publish Customizations" task that we noticed is missing in the documentation, but we got the same error in the final step). It runs OK
- We have created the Release pipeline to deploy the managed solution to the target environment (TST), but it runs NOK. We get the error referred above (log attached).
Additional comment: we are able to import the generated artifact manually in the target environment
Any hint?
Thanks a lot in advance!