skype4b: Get-CsUserDatabaseState – Show SQL Database Servers

Here’s a quick tip to display the names of associated backend SQL primary and mirrored (if any) database servers of a Standard or Enterprise Edition Lync/Skype for Business Server 2015 Front-End pool:

Get-CsUserDatabaseState -RegistrarPool fepool.leedesmond.com

The result lists the Identity, Mirror and Online status of the SQL database servers of the specified FE registrar pool. This works since only this pool type houses the user store (database) which keeps key user related information like presence and routing data.

 

 

Get-CsPoolFabricState – UserServices not installed

On Skype for Business Server 2015, you may encounter:

Get-CsPoolFabricState: UserServices is not installed on this machine

Ensure that the value set to the -PoolFqdn parameter of this cmdlet indeed points to a Front-End Standard or Enterprise Edition Pool and not just a node’s FQDN in the server pool. All other pool types like Mediation, Edge or Persistent Chat are not valid (for obvious reason).

Still no change as reported in my last blog post on this very topic – the Get-CsPoolFabricState cmdlet does NOT generate any objects or allow its output to be captured. One workaround is to explicitly run the cmdlet as follows:

powershell.exe Get-CsPoolFabricState -PoolFqdn fe.leedesmond.com > out.txt

… and process the saved result with Select-String for instance.

RE: Skype for Business for Android – Exchange Settings (still) “Lost” v6.16.0.9

UPDATE (10 Jul 2017)

Microsoft publicly released on this day the Android version of Skype for Business 6.16.0.9.

The two Exchange settings “Skype for Business Anmeldeinformationen verwenden” and “Server automatisch erkennen” are now by default enabled regardless of previous states. A user must explicitly override the latter (off) to get EWS to work if auto config is not desired.

Likewise a user interface quirk as last reported, if “Skype for Business Anmeldeinformationen verwenden” is activated, the UI disables it when you revisit the config page. The option “Server automatisch erkennen” now correctly remains off with the given URL if configured as such before. As long as you hit Cancel and do not logoff, all should continue to function.

Note that IMs received over the Android mobile client remain on the main page until deleted. To do this, press and hold to pick the delete menu option. Simply trying to swipe away does not (yet?) delete an IM from the list.

Skype for Business for Android Mobile – Exchange Settings “Lost”

#skype4b

Like previous releases, the current version (6.16.0.7) of Skype for Business for Android mobile devices exposes 2 Exchange configuration options namely “Skype for Business Anmeldeinformationen verwenden” and “Server automatisch erkennen”.

If you disable the latter option, specify manually the “Exchange-Webdienste FQDN oder URL” and press OK to save the changes, the settings should take effect in an instance or so. The appearance of a list of upcoming skype4b meetings on the main and Calendar tab confirms that Exchange Web Services (EWS) connectivity is functioning as expected.

Nevertheless when you revisit the same Exchange configuration settings, you find that the “Skype for Business Anmeldeinformationen verwenden” is deactivated unexpectedly. Additionally, “Server automatisch erkennen” is now mysteriously re-enabled. By turning it off again, you see that the previously entered EWS FQDN/URL is still intact.

This is apparently a User-Interface only issue; from a functional perspective, everything should continue to work as normal until Microsoft fixes this UI quirk. Otherwise, you may have to logoff and sign-in to have the EWS settings take effect (or toggle the switches explicitly).

#skype4b Get Pool Node IP Address (Front-End, Mediation, Edge, etc.)

Get-Skype4bPoolIP is one of the many PowerShell functions/utilities in my personal script toolbox repository designed to help simplify the management and administration of just about any Skype for Business / Lync Server environment. Enjoy!
##########################################################################
# Copyright (c) 201x-2017 leedesmond.com
# All Rights Reserved. Use at your own risk and responsibility.
# Get-Skype4bPoolIP.ps1
# Version 1.00
#
# USAGE:
# Get-Skype4bPoolIP “fe-pool.leedesmond.com”
# Get-Skype4bPoolIP (Get-CsService -Registrar).PoolFqdn
#
Continue reading

#Skype4B/Lync Script: Show User Policy

Show-Skype4BUserPolicy is one of the many PowerShell functions/utilities in my personal script toolbox repository designed to help simplify the management and administration of just about any Lync / Skype for Business Server environments.

It is a companion to Compare-Skype4BUserPolicy for the purpose of displaying information (user policy) in a more readable and useful format (rotate pivot-table). Enjoy!

################################################################################
# Copyright (c) 201x-2017 leedesmond.com
# All Rights Reserved. Use at your own risk and responsibility.
# Show-Skype4BUserPolicy.ps1
# Version 1.00
# Companion to Compare-Skype4BUserPolicy.ps1
#
# USAGE:
# Show-Skype4BUserPolicy (Compare-Skype4BUserPolicy $u1 $u2 -DistinctObject)
#
Continue reading

#Skype4B/Lync Script: Compare User Policy

Compare-Skype4BUserPolicy is one of the many PowerShell functions/utilities in my personal script toolbox repository designed to help simplify the management and administration of just about any Lync / Skype for Business Server environments. Have fun!

################################################################################
# Copyright (c) 201x-2017 leedesmond.com
# All Rights Reserved. Use at your own risk and responsibility.
# Compare-Skype4BUserPolicy.ps1
# Version 1.00
#
# USAGE:
# Compare-Skype4BUserPolicy $u1 $u2
Continue reading

Update Digest: Skype for Business Server 2015 CU5 (May 2017)

Skype for Business Server 2015 Cumulative Update 5 “CU5” KB3061064
– version 9319.281
– released 17 May 2017 (download)
– list of bug/hot fixes per KB3061064
– adds Windows Server 2016 support!
– for Skype for Business Server 2015 running on Windows Server 2008 R2, Windows Server 2012 and Windows Server 2012 R2

Skype for Business Server 2015 – Windows Server 2016 and PowerShell 5.1 Support

Although Windows Server 2016 has been officially released since 26 Sep 2016 (Ignite conference in Atlanta), it is still not listed as a supported server operating system platform to install or operate Skype for Business Server 2015.  Likewise, this applies to domain controllers in the Active Directory environment.

Per “Server requirements for Skype for Business Server 2015” (TechNet – Topic Last Modified: 2017-02-23):

Windows Server 2016 is not included in this list right now, but we’re planning to add it as a supported option after Skype for Business Server Cumulative Update 5 is released. Until then, please don’t try to use Windows Server 2016 as an OS for your Skype for Business deployment today, as it’s not yet supported, and we don’t recommend it. And check back to this page once the cumulative update is released to confirm Windows Server 2016 is added to our supported list at that time.

Additionally, PowerShell 5.1 is delivered in Windows Server 2016 and Windows 10 Anniversary Update (Build 1607). On supported legacy and down-level Windows operating systems, you can apply Windows Management Framework 5.1 (KB3191565) to update to this current version. Nevertheless, WMF 5.1 is marked as incompatible with Skype for Business Server 2015 (or for that matter Lync Server 2013 and 2010).

The golden rule “If it ain’t broken, don’t fix it” should apply (particularly on live production systems)!

REFERENCES
Announcing the launch of Windows Server 2016 (Hybrid Cloud Blog link)
Windows Server 2016 RTM, System Center 2016 RTM and Azure Stack TP2 – now available (link)
Requirements for your Skype for Business environment (TechNet link)
WMF 5.1 Product Compatibility Status (Last Updated: 1/31/2017 link)

Update Digest: Skype for Business Server 2015 CU4 Hotfix 1 (Feb 2017)

Improvements and fixes as described in “Updates for Skype for Business Server 2015” (KB3061064)

  • version 9319.277 released 13 Feb 2017 (download SkypeServerUpdateInstaller.exe)
  • support Skype for Business mobile clients in Location-Based Routing
  • 3212371 Skype for Business Server 2015 installer can’t update necessary drivers (Media Relay driver)
  • 3209571 LastActive attribute provides inaccurate information about a user’s presence status in Skype for Business
  • 3209570 You can’t set mobile phone number if it matches work phone number in Skype for Business Server 2015
  • 3209569 Display name in contact cards is not returned in Skype for Business Server 2015
  • 3209568 Add Push Notification support for Skype for Business for iOS and Android clients in Skype for Business Server 2015
  • 3209567 Add a flag to the Web.config file to allow Join Launcher to accept across-domain anonymous meeting join requests
  • 3209566 Skype for Business Server 2015 installer may fail silently in Windows Server 2016
  • 3209565 Enhanced 911 (E911) calls using Skype for Business 2016 on Mac don’t work through the non-Windows authentication in Skype for Business Server 2015
  • 3209563 Update reverts the Application Sharing Server (ASMCU) changes in CU4 in Skype for Business Server 2015
  • 3207037 UCWA may crash when parsing the ms-trunking-peer header in Skype for Business Server 2015
  • 4014212 “Screen presenting is not supported with this contact” error when sharing desktop between the Windows and Mac Skype for Business 2016 client

REFERENCES
Skype for Business Server 2015 Cumulative Updates (CU) List (link)