MS-102 Practice Questions - Microsoft 365 Certified Administrator Expert (MS-102) Exam

Access More Questions
Which Microsoft Graph PowerShell command creates a new cloud-only user named Maria Lopez with userPrincipalName [email protected] and a randomized password?
Correct Answer:
New-MgUser -DisplayName 'Maria Lopez' -UserPrincipalName '[email protected]' -AccountEnabled -PasswordProfile @{Password='Pa55w.rd!Temp'; ForceChangePasswordNextSignIn=$true} -MailNickname 'mlopez'

Access more questions from this quiz

Continue to MS-102 Practice Questions - Microsoft 365 Certified Administrator Expert (MS-102) Exam for more practice questions and the full quiz experience.

Access More Questions