Avatar of Scott Townsend
Scott TownsendFlag for United States of America

asked on 

Is there a new way to refresh the backend User Database foe Skype For Business when its part of Office365? Update-CsUserDatabase does not exist for me.

Hybrid Exchange 2010 with Exchange On-Line/Office 365.
AD Cloud Sync with on-Prem AD Server.
Skype For Business as Part Of Office 365 Premium

Years ago I tried installing a Lync Server, though never got all the way though. My Exchange User had a SIP email address entry in it.  This was Causing my Outlook to complain that My SIP and SMTP Addresses were not the same.   No One else in the Organization had a SIP email entry so I just removed mine. After that I could no longer login to Skype For Business. Did the Delete of the Appropriate files on my Machine, cleared the Stored Credentials, waited 24 hours and I still cannot login to Skype on ANY Machine (Mac/PC/PC) I can login to Exchange OWA, office Portal, Sharepoint, etc. Just not Skype. I seem to be the only affected user, other users are not affected.

Reading though many google searches I came across Update-CsUserDatabase which is supposed to Pull a copy of the User's Attributes from AD, though when I go to run that Command I get: "Update-CsUserDatabase' is not recognized as the name of a cmdlet"
Though I can execute other get-Cs Commands with no issues, so I know I have a Good connection to the back end SfB.   (See Below) I can cycle though other Update-Cs Commands, just not the Update-CsUserDatabase one.

Is there a new way to refresh the backend User Database foe Skype For Business when its part of Office365?

PS C:\Windows\system32> remove-PSSession $cssession
PS C:\Windows\system32>
PS C:\Windows\system32> $cssession = New-CsOnlineSession –Credential $cred –OverrideAdminDomain "<domain>.onmicrosoft.com"
PS C:\Windows\system32> Import-PSSession $cssession -AllowClobber -Verbose

ModuleType Version    Name                                ExportedCommands
---------- -------    ----                                ----------------
Script     1.0        tmp_h40uvbb0.ro5                    {Clear-CsOnlineTelephoneNumberReservation, ConvertTo-JsonForPSWS, Copy-CsVoicePolicy, Disable-CsMeetingRoo...

PS C:\Windows\system32>
PS C:\Windows\system32> get-csclientpolicy |  select DisableEmailComparisonCheck


PS C:\Windows\system32> Update-CsUserDatabase
Update-CsUserDatabase : The term 'Update-CsUserDatabase' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Update-CsUserDatabase
+ ~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Update-CsUserDatabase:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

Open in new window

Microsoft OfficeExchangeSkype

Avatar of undefined
Last Comment
Scott Townsend
Avatar of Jeff Glover
Jeff Glover
Flag of United States of America image

If I had to make an informed guess, I would say that since you really have no control over the Backend DBs in Skype ONline, that the commands dealing with the database are not available. That matches more or less what happens in SharePoint online and what happens with Exchange Online. The Database things are behind the scenes. Did you try adding the SIP address back in? Have you looked at your account in the SFB online Management site? You may have to disable your user for Skype and then re-enable them.
Avatar of Scott Townsend
Scott Townsend
Flag of United States of America image

Blurred text
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial

Exchange is the server side of a collaborative application product that is part of the Microsoft Server infrastructure. Exchange's major features include email, calendaring, contacts and tasks, support for mobile and web-based access to information, and support for data storage.

Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews


IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo