You are the Office 365 administrator for your company. A user named User1 from a partner organization is
permitted to sign in and use the Office 365 services.
User1 reports that the password expires in ten days. You must set the password to never expire. Changes must
NOT impact any other accounts.
You need to update the password policy for the user.
Which Windows PowerShell cmdlet should you run?

A.
Set-MsolPasswordPolicy
B.
Set-MsolPartnerlnformation
C.
Set-MsolUser
D.
Set-MsolUserPassword
Explanation:
The Set-MsolUser cmdlet is used to update a user object.
The parameter-PasswordNeverExpires <Boolean>
Sets whether or not the user’s password willexpireperiodically.
So the command Set-MsolUser –PasswordNeverExpires $true would make the appropriate configuration.
info about The Set-MsolUserPassword cmdlet resets the password of a user. This cmdlet can only be used for users with standard identities.
0
0
Set-MsolUserPassword cmdlet doesn’t have the -PasswordNeverExpires switch
https://docs.microsoft.com/en-us/powershell/module/msonline/set-msoluserpassword?view=azureadps-1.0
0
0