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

Shivaji Shitole 125 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.
8,930 questions
Microsoft Security Microsoft Entra Microsoft Entra ID
{count} votes

2 answers

Sort by: Most helpful
  1. Thomas Odell Balkeståhl 16 Reputation points
    2024-05-30T10:50:05.6733333+00:00
    3 people found this answer helpful.
    0 comments No comments

  2. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    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.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.