Error when enabling Lync/Skype for Business user (Enable-ZPS4BUser)

Problem

When trying to enable a user using the activity Enable-ZPS4BUser the following error appears in the Event Log:

Exception

There seems to be a problem with the SIP address provided. Please use a SIP address
that includes only standard characters, for example, sip:username@contoso.com.

Solution

Check the following:

  • If you are using the SipAddress parameter:
    • You should not be providing a SipAddressType
    • You should make sure that there are no illegal characters in the address provided
  • If you are using the SipAddressType parameter make sure you are not providing a SipAddress