Missing scripts
BHoggs opened this issue · comments
Hi, reviewing one of your bicep examples, the referenced scripts appear to be missing:
https://github.com/microsoft/ITOpsTalk/blob/main/KeyVaultAccess_Bicep/Main.bicep#L6
thanks
@pierreroman is currently looking into this.
Hey, Still working on this. Azure behaviour broke the script. Addressing this now should be creating a PR for it in the very near future.
To be fair it's odd that it's needed... The bicep team should update the deployment() function to return the principal ID of the deployment identity. Your script is the only alternative I've seen other than hard-coding a value.
that's why i wrote it. To be fair, It's not Bicep that is the problem. Azure does not expose that property easily.