question

JanJ-7426 avatar image
0 Votes"
JanJ-7426 asked ·

Create And Remove Tenant in Azure Automatically

Hi,

I would like to create hybrid environment for developing and application testing. I have an automatically created Active Directory with accounts, computers, etc. And I will need to sync the on-prem AD with Azure AD. Is there any option how to automatically create and remove tenant in Azure or Office 365 tenant with Azure AD?

Thanks in advanced.

azure-active-directory
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

soumi-MSFT avatar image
0 Votes"
soumi-MSFT answered ·

@JanJ-7426, There is no way you can create or delete a tenant in programmatic way like using a Powershell script.

You can create, modify and delete a domain under a tenant using PS cmdlets, which you can find here.



Hope this helps.


Please take a moment to "Mark as Answer" and/or "Vote as Helpful" wherever applicable. Thanks!

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.