Deployment - Couldn't find an account with the Id azuresubscriptio

Hello guys, I need any inputs on this error, anyone encountered similar to this before?

There was a problem with your request.

  • Couldn’t find an account with the Id azuresubscription-testsub-management-certificate. Perhaps the account has been deleted? Either select another account, or create a new account and select it. Once you have corrected these problems you can try again. If the problem is related to a variable you will need to update the variables for this release or recreate the release for the changes to take effect. If the problem is related to the deployment process you will need to create a new release for the changes to take effect.

Hi Noel,

Thanks for getting in touch.

This looks like something in your deployment process is using a bound account variable and resolving to an older management certificate that has since been deleted.

If you deleted an Azure Management Certificate (or replaced an Azure Management Certificate with a Service Principal), you’ll need to review the projects where this old account may have been referenced and check if any were using a bound value that would resolve to this older/now-deleted account. If this was happening via variable substitution, you’ll need to update those variable values accordingly.

Hope this helps. Let me know how you go.