-
Notifications
You must be signed in to change notification settings - Fork 57
Description
Describe the bug
We have a one-off DevOps release set up to remove all Microsoft 'Customer Portal' solutions as they are no longer needed. When attempting to run this release, each of the separate solution deletion steps fails with DevOps despite actually succeeding in Power Platform / Power Apps. The solution history shows a successful solution uninstall at the same duration as the DevOps step fails.
It looks like the deletion step tries to query the deleted solution's API URL after it succeeds and fails to do so as it no longer exists.
Example failing step:
steps:
- task: microsoft-IsvExpTools.PowerPlatform-BuildTools.delete-solution.PowerPlatformDeleteSolution@2
displayName: 'Remove CustomerService'
inputs:
authenticationType: PowerPlatformSPN
PowerPlatformSPN: 'REDACTED'
SolutionName: CustomerService
Our environments are all Microsoft cloud environments under Power Platform and so is our DevOps and execution agent.
I will attach the execution log as an additional comment on this bug.
To Reproduce
Steps to reproduce the behaviour:
- Create new DevOps release and add steps to install the Power Platform tools and configure the right connection.
- Add another step to delete a solution from the environment.
- It should look like this:
- Execute the release and wait. It will succeed in Power Platform / Power Apps but will fail in DevOps.
Expected behaviour
The DevOps solution deletion should succeed and move on to the next step. This currently does not work as the deletion step fails when the Power Apps uninstall succeeds.
Screenshots
Added in-line above.
Desktop (please complete the following information):
Not relevant as this is all running in DevOps cloud. For reference we are using the 'windows-latest' agent type for the job.
Additional context
Nothing comes to mind that I haven't already mentioned above.