MicrosoftLearning / MD-102T00-Microsoft-365-Endpoint-Administrator

MIT License
51 stars 47 forks source link

Error- Module 1- Exercise 1: Creating users in Azure AD #11

Closed vikasmct closed 1 year ago

vikasmct commented 1 year ago

Module:1- Exercise 1: Creating users in Azure AD## Lab/Demo: 00

Task: Task 2: Create users by using PowerShell

Step -5 ( This is correct PowerShell command )

Description of issue- Command is in correct

Correct PS command

New-MsolUser -DisplayName "Cody Godinez" -UserPrincipalName cgodinez@M365x21507465.onmicrosoft.com -Password "pass@word1" -FirstName "Cody" -LastName "Godinez" -ForceChangePassword $false -UsageLocation "US" -Title "Sales Rep" -Department "Sales"

MSFT-rstearman commented 1 year ago

Hello Vikasmct, The only change to the code in the labs and the one you provided is the order that you entered the properties in and that you updated the password and UPN. Note that the @yourtenant.onmicrosoft.com is there to act as a placeholder for your tenant. Depending on your lab provider, the tenant address will be different for each learner.