Ever wondered if your Skype for Business 2015 or Lync Server 2013 Hybrid Configuration is setup properly? Tony Quintanilla and I have developed a script to help customers troubleshoot their hybrid environments. While the script can diagnose every problem, this one does touch on the main problems that are seen by Microsoft Skype for Business Support Engineers. We hope this script will save you time when trying to troubleshoot issues with your hybrid environment and look forward to hearing your feedback!
NOTE | Special Thanks to TonyQ for coming up with the concept and initial design of this script. I simply took what he had and added some additional logic and reporting. This was truly a collaborative effort. I could not have done it on my own |
First things First. You need to meet the following criteria in order to run the script :
If you meet all of these requirements then let’s get going!. Here is a list of the items the script checks:
https://gallery.technet.microsoft.com/Validate-your-Lync-Server-01...
NOTE: The output files will be saved in the folder they run the script from, so make sure to change to a folder that has rights to. If your PowerShell opens in C:\Windows\System32, it will save the files to your profile’s Documents folder.
When you execute: Validate-CsHybridConfiguration.ps1 you will be prompted for the Tenant credentials and the Edge Credentials. Here is the expected output:
As you can see in the above output, the last two lines show you the path to the output files. One is the log file that simply shows you the same items that are in the screenshot and the second is an HTML report that will show you Pass/Fail information for the given checks.
OverrideAdminDomain
[Optional]
Use the parameter to pass the onmicrosoft.com tenant domain if you are signing in with your vanity domain
i.e. ContosoTentant.onmicrosoft.com when signing in with cloudadmin@contoso.com
DomainController
[Optional]
Use this parameter if the RTCUniversalServerAdmins group is in a different domain than the domain the Front End server is located
BypassAdminGroupCheck
[Optional]
Use this switch to skip the RTCUniversalServerAdmins group check.
ONLY
use this if you have already validated membership and
you continue to get a failure on the group check. If you use this bypass and you don't have the proper rights, you will get
unknown error responses throughout the running of the script.
Standard execution:
.\Validate-CsHybridConfiguration.ps1
Using the OverrideAdminDomain which allows you to use your vanity domain credentials instead of having to use an Onmicrosoft.com login.
.\Validate-CsHybridConfiguration.ps1 -OverrideAdminDomain ContosoTentant.onmicrosoft.com
Using the DomainController gives you the ability to tell the script which domain the RTCUniversalServerAdmins group is located in comparison to which domain you are running the script from. This happens when your Front End servers are in a different domain than your RTC Groups.
.\Validate-CsHybridConfiguration.ps1 -DomainController DC.contoso.com
Using the BypassAdminGroupCheck should only be used if DomainController parameter fails and you MANUALLY validated the membership in the RTCUniversalServerAdmins group.
.\Validate-CsHybridConfiguration.ps1 –BypassAdminGroupCheck
We hope this helps you in troubleshooting your Skype or Lync Hybrid Configuration
Your feedback is welcome
CHANGE LOG:
Disclaimer -
The sample scripts are not supported under any Microsoft standard support program or service. The sample scripts are provided AS IS without warranty of any kind. Microsoft further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample scripts and documentation remains with you. In no event shall Microsoft, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample scripts or documentation, even if Microsoft has been advised of the possibility of such damages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.