title | description | services | documentationcenter | author | manager | editor | ms.assetid | ms.service | ms.workload | ms.tgt_pltfrm | ms.devlang | ms.topic | ms.date | ms.author |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Add a new Azure Stack tenant account in Azure Active Directory | Microsoft Docs |
After deploying Microsoft Azure Stack Development Kit, you’ll need to create at least one tenant user account so you can explore the tenant portal. |
azure-stack |
heathl17 |
byronr |
a75d5c88-5b9e-4e9a-a6e3-48bbfa7069a7 |
azure-stack |
na |
na |
na |
article |
09/25/2017 |
helaw |
Applies to: Azure Stack Development Kit
After deploying the Azure Stack Development Kit, you'll need a tenant user account so you can explore the tenant portal and test your offers and plans. You can create a tenant account by using the Azure portal or by using PowerShell.
You must have an Azure subscription to use the Azure portal.
- Log in to Azure.
- In Microsoft Azure left navigation bar, click Active Directory.
- In the directory list, click the directory that you want to use for Azure Stack, or create a new one.
- On this directory page, click Users.
- Click Add user.
- In the Add user wizard, in the Type of user list, choose New user in your organization.
- In the User name box, type a name for the user.
- In the @ box, choose the appropriate entry.
- Click the next arrow.
- In the User profile page of the wizard, type a First name, Last name, and Display name.
- In the Role list, choose User.
- Click the next arrow.
- On the Get temporary password page, click Create.
- Copy the New password.
- Log in to Microsoft Azure with the new account. Change the password when prompted.
- Log in to
https://portal.local.azurestack.external
with the new account to see the tenant portal.
If you don't have an Azure subscription, you can't use the Azure portal to add a tenant user account. In this case, you can use the Azure Active Directory Module for Windows PowerShell instead.
Note
If you are using Microsoft Account (Live ID) to deploy Azure Stack Development Kit, you can't use AAD PowerShell to create tenant account.
-
Install the Microsoft Online Services Sign-In Assistant for IT Professionals RTW.
-
Install the Azure Active Directory Module for Windows PowerShell (64-bit version) and open it.
-
Run the following cmdlets:
# Provide the AAD credential you use to deploy Azure Stack Development Kit $msolcred = get-credential # Add a tenant account "Tenant Admin <username>@<yourdomainname>" with the initial password "<password>". connect-msolservice -credential $msolcred $user = new-msoluser -DisplayName "Tenant Admin" -UserPrincipalName <username>@<yourdomainname> -Password <password> Add-MsolRoleMember -RoleName "Company Administrator" -RoleMemberType User -RoleMemberObjectId $user.ObjectId
-
Sign in to Microsoft Azure with the new account. Change the password when prompted.
-
Sign in to
https://portal.local.azurestack.external
with the new account to see the tenant portal.