Microsoft 365 Administrator Expert MS-102 Practice Question

You are preparing a PowerShell script that uses the Microsoft Graph PowerShell SDK to bulk create user accounts in Microsoft Entra ID. For each new employee, the script must create the account as a member user, generate a random temporary password, force the user to change that password at first sign-in, set the usage location to Canada, and block sign-in until their start date. Which combination of properties should you configure in each New-MgUser command to meet the requirements?

  • passwordProfile.enforceChangePasswordPolicy = $true, signInBlocked = $true, country = "CA"

  • isPasswordExpired = $true, accountEnabled = $false, officeLocation = "CA"

  • passwordProfile.forceChangePasswordNextSignIn = $true, accountEnabled = $false, usageLocation = "CA"

  • passwordProfile.changePasswordAtNextLogin = $true, accountDisabled = $true, usageLocation = "Canada"

Microsoft 365 Administrator Expert MS-102
Deploy and manage a Microsoft 365 tenant
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot