DeploymentScripts - Destroying Resources? #14717
rlisnoff-css
started this conversation in
Authoring Help
Replies: 1 comment 2 replies
-
The Graph Provider for Bicep has append behavior for things like group membership, but perhaps apps and SPNs would work if you make them part of the stack? (I haven't tested deleting them this way myself.) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As part of our bicep template, we create an AD App Registration along with a Service Principal for that app, and it seems like the only way to accomplish this is through a Deployment Script. The issue here seems to be that the deployment script cannot also delete these resources if we decide to destroy the deployment stack.
Is there a way to know during script execution time whether we are creating or deleting? Otherwise, is there some other method of deleting resources created by a deployment script that isn't manual?
Beta Was this translation helpful? Give feedback.
All reactions