Creating and managing users and groups
In the next steps, we will connect to our Azure AD and create test users and groups.
Start the Azure AD PowerShell console.
Connect to Azure AD.
Type
$msolcred = get-credential
and enter your fresh user ID.Type
connect-msolservice -credential$msolcred
.Start the script
C:\Configuration\HRExports\HRImportToAAD.ps1
.Tip
Remember the Execution Policy settings of your PowerShell. More information can be found at: http://bit.ly/1EWLG03. Alternatively, you can also use
connect-msolservice
to connect.After starting the script, go directly to https://manage.windowsazure.com with your
[email protected]
credentials. Select the user's section under your Azure Active Directory. You should find the users from theHireUsers.csvĀ
file.Next, we will create three example groups to represent the company organization with the script
C:\Configuration\HRExports\AddOrgGroups.ps1
.Open https://portal.office.com and navigate to Admin |Active Users; you will see your...