Broken Skype for Business user in Hybrid. Do you use Skype for Business in Hybrid mode (skype for business server + skype for business online) and users ask to repair their accounts because they can’t access their skype for a business client? If users don’t use skype for business for a long time – their accounts break and need to be repaired. This may happen in situations with infrastructure like:
On-Demand Active Directory + Azure AD + Office 365 (Skype for business license) or On-Demand Active Directory + Azure AD + Office 365 (Skype for business license) + On-Demand Skype for Business Server
When users try to log in – they get a message like “you can’t enter the system, please check your account credentials” (this may be wrong because we use Russian version)
How to repair:
To repair accounts you must run the script (repair the Skype for Business Online account): 1. Run Skype for Business command shell; 2. Enter command:
$cred=get-credential
- In the pop-up enter your credential (must have rights on the server);
- Enter command with your accounts:
Enable-CsUser -Identity login@domain -SipAddress sip:login@domain -HostingProviderProxyFqdn “sipfed.online.lync.com”
or
-HostingProviderProxyFqdn “yourserverfqdn”
P. S. In fact this script adds the parameter “sip:login@domain” to the user attribute “ProxyAddress” in the Active Directory catalog.