How to make SIP-Address primary with powershell ems

Hi everybody,

I'm trying to make a SIP-Address primary by using powershell. 

For SMTP-Addresses its quite easy, as we can use set-mailbox -PrimarySmtpAddress, but this one isn't working for SIP-Addresses:
"Cannot process argument transformation on parameter 'PrimarySmtpAddress'. Cannot convert value "sip:test@test.com". 

I searched a lot on the internet, but don't get it.. 

Also this post won't help me:

https://technet.microsoft.com/en-us/library/dd335189(v=exchg.150).aspx

Before you add a SIP address using the Shell, you need to determine the position of the EUM proxy address that you want to add. To determine the position, use the $mbx.EmailAddressescommand. The first proxy address in the list will be 0.
$mbx=Get-Mailbox tony.smith
$mbx.EmailAddresses +="eum:tsmit@contoso.com;phone-context=MyDialPlan.contoso.com"
Set-Mailbox tony.smith -EmailAddresses $mbx.EmailAddresses

Can anybody explain how to achieve it? 

May 19th, 2015 8:54am

Hello

tip:

if not have or need overwrite sip address:

Set-Mailbox -EmailAddresses SIP:email@address -Identity administrator

Free Windows Admin Tool Kit Click here and download it now
May 19th, 2015 9:56am

Hi,

We cant set the Primary Smtp Address with SIP address.

Please try to change the SIP address from EAC in that link to check this issue.

And did the command above help you?

Best Regards

May 21st, 2015 10:51pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics