I was testing few Labs on Microsoft Azure active directory and wanted to create few Azure AD users for testing purpose. I have already installed az powershell module, In the below script when you supply password it has to be in securestring format.
Blog posts : "azure cli"
How to switch to other Azure AD tenant using PowerShell and Azure CLI
This is small guide shows how you can switch or change Azure Active Directory tenant using Powershell and Azure CLI. Before The first step I will show from portal how to switch or change to another domain in Azure active directory. Once you login into portal.azure.com either go into menu and select
Blog Search
Page Views
1 4 7 9 7 9 4 9
Archive
- May 2026 (2)
- January 2026 (10)
- December 2025 (4)
- November 2025 (3)
- October 2025 (3)
- September 2025 (4)
- August 2025 (11)
- July 2025 (8)
- June 2025 (8)
- May 2025 (5)
Comments
-
NeilAugust 8, 2025 05:23PM
-
AzraelJanuary 28, 2025 01:28AM
-
raghavendraJanuary 16, 2025 02:13PM
-
jose antonioJanuary 11, 2025 09:53PM
-
DanDecember 22, 2024 10:49PM
