Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automate creation of Azure AD B2C Tenants

Is it possible to create Azure AD B2C tenants programmatically (e.g. with Powershell, REST API)?

We are developing a multi-tenant SaaS solution for which we would like to create an Azure B2C tenant automatically whenever a new tenant registers.

like image 758
Rainer Avatar asked Oct 27 '15 09:10

Rainer


People also ask

How do you automate Azure ads?

Sign in to the Azure portal. Make sure you have access to the subscription or resource group where the Azure Automation account will be located. Select the subscription or resource group, and select Create. Type Automation, select the Automation Azure service from Microsoft, then select Create.

Can we create multiple tenants in one Azure account?

Azure AD B2B collaboration enables users to use one set of credentials to sign in to multiple tenants. For educational institutions, the benefits of B2B collaboration include: Centralized administration team managing multiple tenants.


1 Answers

I'm afraid currently you cannot create Azure AD using either the APIs or using PowerShell. Although you can create additional directories in a subscription you cannot create one using any automation.

like image 101
Martyn C Avatar answered Oct 18 '22 11:10

Martyn C