I'm not aware of this being possible currently. However, on the Bicep roadmap is Graph AAD integration, which will then open the possibility to automate this process via Bicep.
https://github.com/Azure/bicep/issues/7724#issuecomment-1197401440
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi all,
Using Bicep to deploy Azure App Service.
Want to utilize Azure AD authentication on the App Service, to allow Azure API Management to authenticate against the App Service with Managed Identity.
My question is, using Bicep and the App Service "authsettingsV2" to configure the Authentication - can this be used to automatically create the Azure AD App Registration, as on option 1 in this guide: configure-authentication-provider-aad
Or do I have to manually create the App Registration to be able to set up Authentication with Bicep?
I tested setting this up manually in the Portal, to take a look at the "Export template" json, but there is no configuration there related to authentication, neither on the App Service or the Resource Group where it belongs.
If it is possible to automatically create App Registration as in the link below, is there any resources (examples) available on how to configure this in Bicep, beside the existing; config-authsettingsv2
Many thanks!
I'm not aware of this being possible currently. However, on the Bicep roadmap is Graph AAD integration, which will then open the possibility to automate this process via Bicep.
https://github.com/Azure/bicep/issues/7724#issuecomment-1197401440