App Service - Authentication AAD - Automatically Create App Registration using Bicep

Shivaji Shitole 80 Reputation points
2023-05-26T09:55:02.28+00:00

HI All,

We are deploying app service on Azure using Bicep scripts. We are able to create the app service and set the required configuration using bicep.

Now, we are trying to set the Azure AD authentication and create the app registration for app service automatically through bicep script. We want to do the similar steps using bicep which are mentioned here: https://learn.microsoft.com/en-us/azure/app-service/configure-authentication-provider-aad#--option-1-create-a-new-app-registration-automatically

Please guide us or share the bicep script if anyone has done earlier.

Thanks in advance.

Regards,

Shivaji Shitole

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,876 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,467 questions
{count} votes

1 answer

Sort by: Most helpful
  1. 2023-09-07T23:57:50.2533333+00:00

    Hello @Shivaji Shitole , currently there's no Azure Resource Provider that allows Azure AD resources (such as app registration) to be managed. The provided workaround by @Rob Davidson should work well.

    Let us know if you need additional assistance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.