DRAG DROP
You are the Office 365 administrator for your company. Your company uses Office 365 for
collaboration.
You must reset the password for all of the employees in your company.
You need to ensure that all employees create a new password the next time they sign in to Office
365.
How should you complete the relevant Windows PowerShell command? To answer, drag the
appropriate Windows PowerShell segment to the correct location or locations. Each Windows
PowerShell segment may be used once, more than once, or not at all. You may need to drag the split
bar between panes or scroll to view content.

Wrong. It’s not required to specify a password (if it isn’t specified, a random one is generated), but “-ForceChangePassword $True” is required if you want to force the user to change password on next access.
1
0
i agreed. I tried this in my envrnment.
0
0
Just tested in a sandbox tenant. The suggested answer forces the password reset as well. The -ForceChangePassword $ture will allow you to force a user password reset without first changing the password of the user.
To achieve both objectives use set-MsolUesrPassword -NewPassword [Password]
0
0
Read the question: It says: You must reset the password. It does not say: User must be forced to change password at next logon. Therefore -NewPassword is the right answeg
0
0
Yes it does: “You need to ensure that all employees create a new password the next time they sign in”
The answer is correct, however it would be better without specifying a specific password
that’s just a horrible security breach, putting everyone on the same password and communicate it 😀
0
0
The question says….You need to ensure that all employees create a new password the next time they sign in to Office
365.
so therefore “-ForceChangePassword $True” is required if you want to force the user to change password on next access.
0
0
i tried it in my environment for 1 user only just to test it first.
RESULTS:
Set-MsolUserPassword -UserPrincipalName user@domain -NewPassword Pass#123#
– i was able to set my password once i signed in but i have to put the current password.
While
Set-MsolUserPassword -UserPrincipalName user@domain.com -ForceChangePassword $true
– same results as above. So i assume both answers are correct.
0
0