The Complete Integration Guide



Similar documents
Feature Integration Across Microsoft Office Server Products SharePoint Server, Exchange Server, Lync Server, and Office Web Apps

Step-By-Step Guide to Deploying Lync Server 2010 Enterprise Edition

Implementation notes on Integration of Avaya Aura Application Enablement Services with Microsoft Lync 2010 Server.

Configuring an Etherspeak SIP Trunk in Microsoft Lync 2013

Load Balancing Exchange 2007 Client Access Servers using Windows Network Load- Balancing Technology

Outlook . Step 1: Open and Configure Outlook

Exchange 2013 mailbox setup guide

educ Office Remove & create new Outlook profile

Nintex Workflow 2010 Installation Guide. Installation Guide Nintex USA LLC, All rights reserved. Errors and omissions excepted.

Outlook Profile Setup Guide Exchange 2010 Quick Start and Detailed Instructions

Microsoft Project Server Integration with SharePoint 2010

Implementing Microsoft SQL Server 2008 Exercise Guide. Database by Design

Microsoft Office 365 with MailDefender

RoomWizard Synchronization Software Manual Installation Instructions

Hosted Exchange 2010

Professional Mailbox Software Setup Guide

Core Solutions of Microsoft Lync Server 2013

Exchange Outlook Profile/POP/IMAP/SMTP Setup Guide

Microsoft Lync Server 2010

How to Request and Configure Exchange Server 2013 Certificate

Click Studios. Passwordstate. Upgrade Instructions to V7 from V5.xx

Core Solutions of Microsoft Lync Server 2013

Resonate Central Dispatch

Jeff Schertz MVP, MCITP, MCTS, MCP, MCSE

Microsoft Office Web Apps Server 2013 Integration with SharePoint 2013 Setting up Load Balanced Office Web Apps Farm with SSL (HTTPS)

OUTLOOK ANYWHERE CONNECTION GUIDE FOR USERS OF OUTLOOK 2010

Configure Outlook 2013 to connect to Hosted Exchange

How To Deploy Lync 2010 Client Using SCCM 2012 R2

Microsoft Exchange Server

Converting Prospects to Purchasers.

How to Scale out SharePoint Server 2007 from a single server farm to a 3 server farm with Microsoft Network Load Balancing on the Web servers.

How to Set Up Outlook 2007 and Outlook 2010 for Hosted Microsoft Exchange if the Program is Already Installed

Neoteris IVE Integration Guide

Before you begin make sure you have met the following pre-requisites:

NeoMail Guide. Neotel (Pty) Ltd

Configuration Task 3: (Optional) As part of configuration, you can deploy rules. For more information, see "Deploy Inbox Rules" below.

Microsoft. Exchange Referent: Daniel Glomb System Architect

Windows XP Exchange Client Installation Instructions

escan SBS 2008 Installation Guide

Click Studios. Passwordstate. Installation Instructions

Deploying the BIG-IP System with Microsoft Lync Server 2010 and 2013 for Site Resiliency

Installing Skype for Business Server 2015

Neoteris IVE Integration Guide

Getting Started with UM

Shared Components PSTN gateways PSTN gateways New IP/PSTN Gateway Define New IP/PSTN Gateway Define the PSTN Gateway FQDN FQDN Next

Exchange Outlook Profile/POP/IMAP/SMTP Setup Guide

How to set up Outlook Anywhere on your home system

Configuring your client to connect to your Exchange mailbox

Click Studios. Passwordstate. Installation Instructions

Cisco SSL Encryption Utility

Bitrix Site Manager ASP.NET. Installation Guide

Application Notes for Microsoft Office Communicator Clients with Avaya Communication Manager Phones - Issue 1.1

Course 20336: Core Solutions of Microsoft Lync Server 2013

Apple Mail Exchange Configuration. Microsoft Exchange 2007 and Mac OS X 10.6 Snow Leopard. MailStreet Live Support:

Core Solutions of Microsoft Lync Server 2013

Configuring High Availability and Disaster Recovery in Microsoft Lync Server 2013

SETUP SSL IN SHAREPOINT 2013 (USING SELF-SIGNED CERTIFICATE)

Deploying the Barracuda Load Balancer with Microsoft Exchange Server 2010 Version 2.6. Introduction. Table of Contents

Fabrizio Volpe. MVP Directory Services MCITP Lync

Course Outline. Course 20336B: Core Solutions of Microsoft Lync Server Duration: 5 Days

PULSE 4.0 INSTALLATION GUIDE

Load Balancing Microsoft Exchange Deployment Guide

Course Outline. Core Solutions of Microsoft Lync Server 2013 Course 20336B: 5 days Instructor Led. About this Course.

User guide. Business

Microsoft Office 365 Exchange Online Cloud

How To Install An Archive Service On An Exchange Server (For A Free) With A Free Version Of Ios (For Free) On A Windows Xp Or Windows 7 (For Windows) (For An Ubuntu) (

Secure Messaging Server Console... 2

USER GUIDE WWPass Security for (Outlook) For WWPass Security Pack 2.4

client configuration guide. Business

20336B: Core Solutions of Microsoft Lync Server 2013

Core Solutions of Microsoft Lync Server 2013

V310 Support Note Version 1.0 November, 2011

Immotec Systems, Inc. SQL Server 2005 Installation Document

Getting started with 2c8 plugin for Microsoft Sharepoint Server 2010

AvePoint Meetings for SharePoint On-Premises. Installation and Configuration Guide

Exchange 2013 Server Architecture: Part 1. Jeff Mealiffe Senior Program Manager Exchange Product Group

Microsoft Core Solutions of Microsoft Lync Server 2013

Table of contents 1. IMPORTANT INFORMATION BEFORE YOU START GETTING STARTED EXCHANGE CONTROL PANEL... 2

Hosted Microsoft Exchange Client Setup & Guide Book

Setup Guide. network support pc repairs web design graphic design Internet services spam filtering hosting sales programming

DEPLOYMENT GUIDE Version 1.2. Deploying F5 with Microsoft Exchange Server 2007

Lab SBS14.FARM_Hyper-V - Using SharePoint with Outlook and Lync

RSA Security Analytics

ALOHA Load-Balancer. Microsoft Exchange 2010 deployment guide. Document version: v1.4. ALOHA version concerned: v4.2 and above

BASIC CLASSWEB.LINK INSTALLATION MANUAL

Hosted Exchange Setup Instructions

Discuss the new server architecture in Exchange Discuss the Client Access server role. Discuss the Mailbox server role

Configuring NXT Hardware with Mercury Inside into Doors.NET TM Application Note

Transition from Pegasus Mail To Exchange/Outlook 2003

Configuring Outlook for Windows to use your Exchange

EAsE and Integrated Archive Platform (IAP)

Professional Mailbox Software Setup Guide

How to move a SharePoint Server bit environment to a 64-bit environment on Windows Server 2008.

Moxa Device Manager 2.3 User s Manual

CHARTER BUSINESS custom hosting faqs 2010 INTERNET. Q. How do I access my ? Q. How do I change or reset a password for an account?

How To Create An Easybelle History Database On A Microsoft Powerbook (Windows)

SQL Server Business Intelligence

Transcription:

The Complete Integration Guide Microsoft Skype for Business & Exchange 2016 Servers By: The Lyncdude

Contents What is New with Exchange 2016 Architecture... 3 Exchange 2016 Architect... 3 Client Access Protocols:... 3 Outlook on the Web:... 3 Before Integrating... 3 Server-To-Server Authentication... 3 Exchange Side... 4 Skype for Business side... 4 Configure Exchange Autodiscover... 5 DNS Records... 5 Exchange CAS Services... 6 Integrate Skype for Business & Exchange 2016... 7 Configure a Partner Application (need IIS reset)... 7 Configure Skype for Business to be Partner Application for Exchange 2016... 7 Configure Exchange 2016 server to be Partner application for Skype for Business... 7 Enabling Skype for Business for Outlook on the Web (require IIS restart)... 9 Configure Exchange... 9 Configure Skype for Business...12 Enabling Skype for Business with Unified Messaging...14 Prepare Exchange UM...14 Configure Skype for Business...26 Configure Skype for Business to use Exchange Archiving...31 Enable Exchange Archiving...31 Configure Skype for Business to use Unified Contact Store...35 Configure high resolution photos in Skype for Business...35

Howdy, This PDF book is a combination of two articles I wrote on my blog (www.lyncdude.com) where I gathered all information you need to integrate Skype for business and Exchange 2016 servers and the steps needed to complete the integrations in all possible ways of integration. What is New with Exchange 2016 Architecture So if you don t know already Microsoft Exchange 2016 is out and available for download and installation, Microsoft had yet again made some changes in different areas and I will go into some of what I find relative at least for me :p Exchange 2016 Architect So in Exchange 2010 we had 4 server roles (CAS, MBX, HT and Edge), then with Exchange 2013 this number of roles got reduced to 3 server roles (CAS, MBX and Edge), now with Exchange 2016 Microsoft finally made it more simple by reducing the number of server roles to. yes, you guessed right 2 server roles only: Mailbox: which include basically all known component found in Exchange 2013 & 2010 as in Client access services, Hub Transport services, Mailbox services and the Unified messaging services. Edge: is same role which is deployed in the DMZ network of your organization and handle the internet facing mail flow and act as additional protection layer for the emails. Client Access Protocols: MAPI over HTTP is now the default Outlook protocol used to connect to Exchange 2016 server by utilizing industry standards HTTP model, good thing is if you did not enable MAPI over HTTP in your infrastructure, Outlook will fail back to RPC over HTTP to connect to Exchange. Outlook on the Web: Have no idea why Microsoft renamed it but it includes now a lot of new features that available only if you have Exchange 2016 server installed For a list of all new changes in Exchange 2016 check Microsoft TechNet article here Before Integrating Before I start with explaining how to integrate Skype for business and Exchange 2016, there is a couple of things you need to make sure are configured correct and that your Skype for Business and Exchange 2016 infrastructures are ready for the integration, this is usually done in two steps: 1. Make sure your Server-to-Server authentications are working 2. Make sure Exchange Autodiscover services are configured correctly. Server-To-Server Authentication In order for the integration to work, Skype for Business server and Exchange server need to be able to communicate and exchange information between each other in a secure way, this is done of course by using SSL certificates and assign them to the required services.

Exchange Side By default, a self-signed SSL Certificate (Microsoft Exchange Auth Certificate) is installed on the Exchange server after you have deploy it, this certificate is used for server-to-server authentication on the Exchange side Skype for Business side When installing Skype for business server you have to request a certificate for SkypeFB web services which can be also used for the OAuthTokenIssuer for server-to-server communication as long as you use this SSL certificate on all your Front end servers, so by doing so your Skype for Business side is also ready. Use the PowerShell command to make sure OAuthTokenIssuer certificate is configured correctly on your Skype for Business Frontends Get-CsCertificate -Type OAuthTokenIssuer If you don t have a certificate, use Skype for Business deployment wizard to request and/or assign certificate to the OAuthTokenIssuer, more details can be found here

Configure Exchange Autodiscover As I said, I'm assuming your Exchange 2016 is up and running without problems, but just in case you are a consultant working on customer sites, make sure the Exchange Autodiscover is configured correctly this is done by checking two areas: 1. DNS records 2. Exchange 2016 CAS Services DNS Records Make sure there is A-record for Autodiscover.domain pointing to the Exchange 2016 Mailbox server(s) Also make sure there is SRV-records configured and resolving to autodiscover.domain

Exchange CAS Services Make sure that the Autodiscover services on the Exchange 2016 CAS services is configured correctly, this is easily done by using our friend PowerShell Use the following PowerShell command line to see if the CAS services have the Autodiscover URL defined correctly P.S. Remember that with Exchange 2016 the command line changed from Set- ClientAccessServer to Set-ClientAccessService Get-ClientAccessService Select-Object Name, AutoDiscoverServiceInternalUri Format-List If AutodiscoverServiceInternalUri have the wrong Url like I do, then you must configure it using the following command Set-ClientAccessService -Identity <Exchange MBX> AutoDiscoverServiceInternalUri "https://autodiscover.domain/autodiscover/autodiscover.xml" Next you need to make sure that OAuthTokenIssuer is configured so that Skype for Business frontend can find the Exchange Autodiscover services, use the following command to see if OAuthTokenIssuer have Exchange Autodiscover URI defined. Get-CsOAuthConfiguration s If the Exchange Autodiscover URL have no value, then use the following command to define it so that Skype for business can find Exchange Autodiscover Set-CsOAuthConfiguration -Identity global -ExchangeAutodiscoverUrl "https://autodiscover.domain/autodiscover/autodiscover.svc"

Integrate Skype for Business & Exchange 2016 Now that we have everything ready for the integration and we made sure that both platforms are ready, it is time that we start with the integration itself, this will be first by configuring each server to be a Partner Application to the other one. Configure a Partner Application (need IIS reset) To allow server-to-server authentication between Skype for business and Exchange 2016 mailbox server you need to configure skype for business to be partner application for Exchange server and vice versa. Configure Skype for Business to be Partner Application for Exchange 2016 This is done by using the Configure-EnterprisePartnerAppliation script that is shipped with Microsoft Exchange 2016, you will need the metadata URL for the authentication of your Skype for Business Frontend, should be in the following format so the full command line should be as following: https://<poolfqdn>/metadata/json/1 >.\Configure-EnterprisePartnerApplication.ps1 -AuthMetadataUrl "https://<poolfqdn>/metadata/json/1" -ApplicationType Lync Do a quick IIS reset quickly here Configure Exchange 2016 server to be Partner application for Skype for Business This is done by using the PowerShell command line New-CsPartnerApplication and also you will need the metadata authentication URL of the Exchange server which should be in the following format https://autodiscover.domain/autodiscover/metadata/json/1 test the connection to the URL from your Skype for Business frontend by opening a browser and putting the URL in it, should get the following result

Now that all is working, time to add the Partner application, fire up the Skype for Business Management Shell and use the following command line New-CsPartnerApplication -Identity Exchange -ApplicationTrustLevel Full -MetadataUrl https://autodiscover.<domain>/autodiscover/metadata/json/1 Now test the connection by using Test-CsExStorageConnectivity -SipUri "user@domain" Verbose Should get something like following and say test-passed

Enabling Skype for Business for Outlook on the Web (require IIS restart) Configure Exchange Before we go in I want to send a special thanks to Benoit Hamet, his article helped with some parts of this section. On the Exchange 2016 Mailbox server run the following command line to get the Thumbprint of the SSL certificate assigned to your IIS services Get-ExchangeCertificate Copy the Thumbprint and keep it ready, now edit the web.config (don t forget to back it up) file located in: Now with Exchange 2016 it is much simpler to integrate Skype for Business with Outlook on the Web, using PowerShell New-SettingOverride -Name <Name> -Component OwaServer -Section IMSettings - Parameters @("IMServerName=<SkypeFB Frontend FQDN/Pool FQDN>","IMCertificateThumbprint=<Thumbprint You kept aside>") -Reason "Configure IM" - MinVersion "15.01.0225.41"

so in my case it was as following Now refresh the configuration using: Get-ExchangeDiagnosticInfo -Server $ENV:COMPUTERNAME -Process Microsoft.Exchange.Directory.TopologyService -Component VariantConfiguration -Argument Refresh

Now last thing to do is to restart the Outlook on Web Application: Restart-WebAppPool MSExchangeOWAApppool Now enable Instant messaging on Outlook on the web (I need to get use to this new name), this is done by of course PowerShell Get-OwaVirtualDirectory Set-OwaVirtualDirectory -InstantMessagingEnabled $True - InstantMessagingType OCS Outside point: I wonder when microsoft will change the value of Instant Messaging Type to SkypeFB instead of OCS

Double check that all is good by running the Get-OwaVirtualDirectory FL command and check the value of the two properties Now allow Instant messaging on the Outlook on the web policy, also using PowerShell command line, I will allow it on the default global policy, if your organization have number of OWA policies, then you should allow it only on the one you want Set-OwaMailboxPolicy -Identity "Default" -InstantMessagingEnabled $True - InstantMessagingType "OCS" Configure Skype for Business Now the Skype for Business frontend server part, you need to add the Outlook on the web App pool as a trusted application to the Skype for Business topology which is done basically by running 4 PowerShell command lines in the following sequence: Get the site-id of your Skype for business by running the following command

Get-CsSite Select-Object DisplayName, SiteID take a copy of it and keep it a side, you will need it in the next command line create a trusted application pool using following command: New-CsTrustedApplicationPool -Identity <owa FQDN> -Registrar <Pool FQDN> -Site <Site name> -RequiresReplication $False when asked to confirm, type A and hit Enter Now add trusted application to the trusted application pool you just created New-CsTrustedApplication -ApplicationId OutlookWebApp -TrustedApplicationPoolFqdn <ApplicationPool you created> -Port 5199 Now for all to take effect you need to publish the topology:

Enable-CsTopology And with this you integrated Skype for business with outlook on the web, log in to outlook on the web and test Enabling Skype for Business with Unified Messaging Jus to say, the following configuration has not been tested as I run all my machines virtually on a server provided by a hosting company so using headsets or Mic(s) is not an option, but I see Voice Mail notifications happening so I guess it worked Prepare Exchange UM We start with creating a UM dial plan Using GUI Navigate to your Exchange Control Panel then choose in the left menu Unified Messaging then under UM Dial Plans click the + sign Fill the information by giving it a name, choose your organization Extension schema (3 digits, 4 digits or whatever)

- In the Dial plan type, choose SIP URI - Make sure you using Secured under VOIP security mode - Put your country code Click Save

When creating a UM Dial plan, a UM policy is created by default for it, you can double click the newly dial plan which you will see the associated UM policy inside

Double click the UM Policy again and it will open the configuration window for you Using PowerShell This is easier to use and to the point, if you not familiar with PowerShell, stop here, go to your to-do list, go to number one and put the following - Learn Basic PowerShell So anyway use following two command lines to create and configure UM dial plan and UM policy New-UMDialPlan -Name <dialplan name> -VoIPSecurity "Secured" -NumberOfDigitsInExtension <no. of Digits> -URIType "SipName" -CountryOrRegionCode <Country Code> Set-UMDialPlan <dialplan name> -ConfiguredInCountryOrRegionGroups "Anywhere,*,*,*" - AllowedInCountryOrRegionGroups "Anywhere"

Configure the UM Services Now you need to use the PowerShell to set the startup mode of the Unified Messaging to Dual Set-UMService Identity <Exchange Server> -Dialplans <Name of Dialplan> -UMStartupMode Dual Next to allow secure communication between Exchange and Skype for business, you need to assign a Certificate to the UM services (if you did not already do that) Use Get-Exchangecertificate command line to get list of your SSL certificates, and copy the Thumbprint of the certificate you using for OWA from before and assign to UM services Now use the Enable-ExchangeCertificate to assign the certificate to the UM services Enable-ExchangeCertificate -Server <server name> -Thumbprint <value> -Services "UM" Now restart the UM services, and by this you finished configuring the UM services component of Exchange

Configure the UM Call Router Next is configuring the UM Call Router component, use the following command line Set-UMCallRouterSettings Server <server name> -UMStartupMode Dual DialPlans <name> Now assign the certificate to the UMCallRouter services using the same thumbprint and the following command line Enable-ExchangeCertificate -Server <Server Name> -Thumbprint <value> -Services "UMCallRouter" Now restart the UM Call Router component Configure Access Number & Auto-Attendant Now define your Access and Auto-attendant phone numbers, on your Exchange Control Panel open your unified messaging page using the left hand menu then double click the UM dial plan you created, scroll down till you get to the Auto Attendant box and click on +

- Give it a descriptive name - Enable it by checking the box Create this Auto-attendant as enabled - Check the box Set this Auto-attendant to respond to Voice command - Put the phone number you going to use as auto-attendant number - Click Save

Now back to the UM Dial plan configuration page, click on Configure

Now press on Outlook Voice Access in the left menu and add the Access Number you want to use Click save

Last thing to do on Exchange is to run the ExchUCUtil.ps1 script to create the gateways on Exchange side

Configure Skype for Business I ran the Exchange UM Integration Utility on Skype for business and defined both the auto-attendant and the Access number - Start the OcsUMUtil located under C:\Program Files\Common Files\Skype for Business Server 2015\Support - Click on Load Now click on Add, and add the Subscriber contact

Click add again and add the Auto-attendant contact

Click ok

Once finished close the OcsUMUtil

Configure Skype for Business to use Exchange Archiving This feature was introduced with Skype for Business release where Administrators can now configure Skype for business to archive Instant messaging and web conference transcripts using the Exchange archiving feature than using SkypeFB SQL databases. P.S. when this feature is enabled, the archiving data is written and saved in the Purges folder in user s mailboxes, this folder is not visible to the users but searchable using the normal search functionalities of Outlook or SharePoint. Enable Exchange Archiving First step is to enable exchange archiving on Skype for business server. By default, archiving is not enabled in the Global settings nor the exchange archiving, you will need to enable this using PowerShell command line Set-CsArchivingConfiguration identity Global EnableArchiving <Value> -EnableExchangeArchiving $true The value of EnableArchivig properties can be one of the following: - None: which mean you are not archiving anything - ImOnly: only IM session transcripts are archived - ImAndWebConf: will archive both IM and web conference transcripts Using GUI, log in to Skype for business control panel and select Monitoring & Archiving from the left menu, and go to the Archiving Configuration tab

Select the global Policy and click on the Edit icon - Under Archiving Setting, enable archiving for the sessions you would like - Check the box Exchange Server Integration to enable the Exchange integration

When done click Commit

Now you need to enable the archiving on the Archiving policies and assign it to the users which is done in the normal way, nothing new here but just in case Set-CsArchivingPolicy -Identity <PolicyName> -ArchiveInternal $True -ArchiveExternal $True Also doing this is possible by using SkypeFB control panel Edit the global policy or create a new one and make sure you enable the archiving for internal and external communications and don t forget to assign the policy to the users for the archiving to actually happens.

Configure Skype for Business to use Unified Contact Store So this is a feature that were released with Exchange 2013, by utilizing the Exchange Web Services, administrator can enable a unified contact store where users can maintain a single contacts list and have it available across SkypeFB client, Outlook and outlook on the web. By default, user s SkypeFB contacts are kept SkypeFB server and not in the unified contact store, to enable this integration all you need is to have server-to-server authentication setup and partner application configured (check Part-I) So using the following PowerShell you create a new users service policy where you enable Unified contact store in it, then assign it to the users you would like to move their contacts to a unified contact store. New-CsUserServicesPolicy -Identity "Allowed-UCS" -UcsAllowed $True Grant the new service policy to the users you wish to enable UCS for them. Configure high resolution photos in Skype for Business Now last part of this guide is about enabling High resolution photos in Skype for business, for this integration to work you need to have server-to-server authentication configured and partner application (Check Part-I) How to use it, I won t go into details as I don t like to repeat works of other amazing MVPs out there, I recommend you check Jeff s article about this subject where he collected all information you would need.