troubleshooting Question

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.

Avatar of Scott Townsend
Scott TownsendFlag for United States of America asked on
Microsoft OfficeExchangeSkype
2 Comments1 Solution240 ViewsLast Modified:
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

DisableEmailComparisonCheck
---------------------------
                       True

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

ASKER CERTIFIED SOLUTION
Scott Townsend
IT Director

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros