The issue was resolved with a workaround: disconnecting from Git, performing cleanup in the live instance, and then reconnecting afterward.
Please refer to the following Microsoft document for instructions on how to perform this:
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I was testing with the UserAssignedManagedIdentity credential and I created 2 credentials with the same UserAssignedManagedIdentity but different names(UserAssignedManagedIdentity & credentialUAMI). I ran my pipeline to deploy using the dev branch and the live instance show the 2 credentials.
Now I decided to clean up the credentials as both are the same. In fact I just want to rename the credential but this can't be done. That's why I end up created another with the new name. I merge my dev branch to master branch after clean up and my master branch now show only 1 credential(credentialUAMI). I redeploy using my pipeline with my master branch, everything was ok except the live instance still
showing 2 credentials. The deleted credential(UserAssignedManagedIdentity) is still there.
I've check the ARMTemplateForFactory.json from the generated artifacts in the pipeline and it show only 1 credential. I'm using the following code in my deploy task
I try to manually delete the credential in live instance and was not able to publish it as my ADF was connected to the Git. Any idea what I can do to get rid of the unwanted credential?
Should I set the deploymentMode for the AzureResourceManagerTemplateDeployment@3 task to 'Complete' as the default is 'Incremental'? Will this help?
Thanks in advance.
The issue was resolved with a workaround: disconnecting from Git, performing cleanup in the live instance, and then reconnecting afterward.
Please refer to the following Microsoft document for instructions on how to perform this: