What is the best way to set up a Production and Test environment with a Web App and a B2C configuration?

Bruce Becker 20 Reputation points


We have a Production App hosted on Azure and we have a B2C configuration using SAML type services. This feeds out to several different 3rd party APIs and SAML endpoints. The production environment has the Azure B2C environment in one Domain/Directory and the Azure App Service is in another Directory/Domain.

In order to start doing further development and testing, we would like to have a Test App and a Test B2C environment. Some of the SAML destinations also have the ability to stand up a Test environment, so it would work well for those. For the others, it will not be as straight forward, but that is not really the question for now.

The question is, do we need to set up another subscription to be able to make separate tenants so we can create a similar directory scenario for our testing environment so we don't have to be concerned about causing any outages/interference between the 2 environments?

Thanks for any advice.

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

Accepted answer
  1. Akshay-MSFT 15,041 Reputation points Microsoft Employee

    @Bruce Becker

    Thank you for posting your query on Microsoft Q&A. From above description I could understand that you are looking for advise on creation of Test B2C tenant and Test Application.

    Please do let me know if you feel any difference in my understanding by responding in the comments section.

    • As you already hold a subscription in you parent directory, you may create another B2C test tenant and link it with same subscription, this tenant would not impact your production B2C directory apart from billing as after 50000 authentications you would be billed on existing subscription.
    • For your test application I would recommend creating a different test resource group and have you test web application, test Key Vault, test storage, test Private networks etc, hosted on the exiting parent directory. Creating a separate resource group and hosting all test services under same would ideally not create any impact on production environment.


    Akshay Kaushik

    Please "Accept the answer (opting Yes under "Helpful")" and "share your feedback ". This will help us and others in the community as well.

0 additional answers

Sort by: Most helpful