You are the Office 365 administrator for your company. The company uses Microsoft Exchange Online and
Microsoft Lync Online.
An employee named User1 has the user name, email address, and Lync address [email protected].
The employee requests that you change only his Lync address to [email protected].
You start a Windows PowerShell session and run the following commands, providing your admin account
credentials when prompted:
You need to complete the process of updating the employee’s Lync address without affecting any otheraddresses.
Which Windows PowerShell command should you run next?
A.
Set-Mailbox -Identity $ID -PrimarySmtpAddress $NewAddress
B.
Set-MsolUser -UserPrincipalName $ID –ProxyAddresses @{add=”$NewAddress”; remove=”$OldAddress”}
C.
Set-CsUser -Identity $ID –ProxyAddresses @{add=”$NewAddress”; remove=”$OldAddress”}
D.
Set-CsUser –Identity $ID –SipAddress $NewAddress
Explanation:
You can easily change the SIP address by running the Set-CsUser cmdlet:
Set-CsUser –Identity “Ken Myer” –SipAddress sip:[email protected]
incorrect.
It would be right if you were Onprem but for Online I think the good answer is B. Set Msoluser ..
The Set-CsUser cmdlet is included in the set of cmdlets that are available to Skype for Business Online administrators. However, you can’t currently use the Set-CsUser cmdlet to manage Skype for Business Online. The only exception is that you can use this cmdlet to set the AudioVideoDisabled parameter. This is by design.
(https://support.microsoft.com/en-us/help/2909916/skype-for-business-online-admins-can-t-use-the-set-csuser-cmdlet-in-sk)
Dennis is correct. We should use Set-CsUser –Identity $ID –SipAddress $NewAddress
https://docs.microsoft.com/en-us/powershell/module/skype/set-csuser?view=skype-ps
The answer is correct. Set-CSuser is available in the online environment and it contains the -sipaddress parameter (https://technet.microsoft.com/en-us/library/mt613429.aspx)
Answers B and C set up ProxyAddress rather than directly targeting the SIP-address. Which in turn doesn’t exist in the online environment under “Set-CSUser”