azure ad/office 365 seamless sign-in -...

46
Azure AD/Office 365 seamless sign-in Part 7 – Understand and implement PTA and seamless SSO Microsoft France Published: January 2017 Version: 1.0 Authors: Philippe Beraud Contributors/Reviewers: Daniel Pasquier (Microsoft France), Philippe Maurent (Microsoft Corporation) For the latest information on Azure Active Directory, please see http://azure.microsoft.com/en-us/services/active-directory/ Copyright © 2017 Microsoft Corporation. All rights reserved. Abstract: Azure AD pass-through authentication (PTA) provides a simple solution for having password validation for Azure AD/Office 365 performed against the organization’s Active Directory infrastructure, without the need for complex network infrastructure or for the on-premises passwords to exist in the cloud in any form. Moreover, the seamless single sign-on (SSO) feature allows end-users to only need to type their username and not their password to sign in to Azure AD/Office 365 or other cloud apps and services when they are on their corporate machines and connected on the organization’s corporate network. In addition to the first part, which is intended to provide a better understanding of the multiple seamless sign-in deployment options provided

Upload: duongdien

Post on 11-Aug-2019

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Azure AD/Office 365 seamless sign-inPart 7 – Understand and implement PTA and seamless SSO

Microsoft FrancePublished: January 2017Version: 1.0

Authors: Philippe BeraudContributors/Reviewers: Daniel Pasquier (Microsoft France), Philippe Maurent (Microsoft Corporation)

For the latest information on Azure Active Directory, please see http://azure.microsoft.com/en-us/services/active-directory/

Copyright © 2017 Microsoft Corporation. All rights reserved.

Abstract: Azure AD pass-through authentication (PTA) provides a simple solution for having password validation for Azure AD/Office 365 performed against the organization’s Active Directory infrastructure, without the need for complex network infrastructure or for the on-premises passwords to exist in the cloud in any form. Moreover, the seamless single sign-on (SSO) feature allows end-users to only need to type their username and not their password to sign in to Azure AD/Office 365 or other cloud apps and services when they are on their corporate machines and connected on the organization’s corporate network.In addition to the first part, which is intended to provide a better understanding of the multiple seamless sign-in deployment options provided by Azure AD/Office 365, this document more specifically discusses how to enable PTA and seamless SSO using corporate Active Directory credentials to access Azure AD/Office 365, and the different configuration elements to be aware of for such deployment, this document provides a complete end-to-end walkthrough to rollout a fully operational configuration in Azure.By following the steps outlined in this document you should be able to successfully configure your environment to deploy the PTA and seamless SSO features, and start using it within your organization to provide a seamless sign-in experience for end-users accessing Azure AD/Office 365 resources.

Page 2: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Table of ContentsINTRODUCTION..................................................................................................

OBJECTIVES OF THIS PAPER................................................................................................NON-OBJECTIVES OF THIS PAPER.........................................................................................ORGANIZATION OF THIS PAPER............................................................................................ABOUT THE AUDIENCE.......................................................................................................

SETTING UP THE BASE CONFIGURATION TEST LAB...............................................DEPLOYING THE LAPTOP1 COMPUTER IN THE TEST LAB ENVIRONMENT.......................................JOINING THE LAPTOP1 COMPUTER TO THE LITWARE369 DOMAIN...........................................ACCESSING THE VARIOUS MACHINES OF THE TEST LAB ENVIRONMENT.........................................

SETTING UP PTA AND SEAMLESS SSO WITH THE AZURE AD/OFFICE 365 TENANT....DOWNLOADING AZURE AD CONNECT..................................................................................EXECUTING AZURE AD CONNECT AND INSTALLING THE FIRST INSTANCE OF THE PTA CONNECTOR....................................................................................................................................CONFIGURING ADDITIONAL TASKS......................................................................................SETTING UP A SECOND INSTANCE OF THE CONNECTOR FOR PTA..............................................CONFIGURING THE SEAMLESS SINGLE SIGN-ON (SSO) IN THE LITWARE369 DOMAIN.................VERIFYING THE SYNCHRONIZATION ON THE AZURE AD/OFFICE 365 TENANT..............................VERIFYING THE PASS-THROUGH AUTHENTICATION (PTA) WITH THE AZURE AD/OFFICE 365 TENANT........................................................................................................................VERIFYING THE SEAMLESS SINGLE SIGN-ON (SSO) WITH THE AZURE AD/OFFICE 365 TENANT......TROUBLESHOOTING THE CONFIGURATION............................................................................

UNDERSTANDING PTA AND SEAMLESS SSO........................................................UNDERSTANDING PTA....................................................................................................UNDERSTANDING SEAMLESS SSO......................................................................................

MONITORING YOUR ON-PREMISES DEPLOYMENT (OPTIONAL).............................GETTING STARTED WITH THE AZURE AD CONNECT HEALTH SERVICE........................................CONFIGURING AZURE AD CONNECT HEALTH FOR SYNC.........................................................CONFIGURING AZURE AD CONNECT HEALTH FOR AD DS......................................................USING THE AZURE AD CONNECT HEALTH SERVICE...............................................................

Page 3: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

IntroductionMicrosoft Office 3651 provides secure anywhere access to professional email, shared calendars, instant messaging (IM), video conferencing, document collaboration, etc. It represents the cloud version of the Microsoft communication and collaboration products with the latest version of the Microsoft desktop suite for businesses of all sizes.Azure Active Directory (Azure AD) is the directory behind Office 365 used to store user identities and other tenant properties. Just like the on-premises Active Directory stores the information for Exchange, SharePoint, Lync and your custom Line of Business (LOB) apps, Azure AD stores the information for Exchange Online, SharePoint Online, Skype for Business Online, etc., and any custom applications built in the Microsoft’s cloud.Through the pass-through authentication (PTA) feature, Azure AD provides organizations with the ability to directly authenticate against the organization’s Active Directory, allowing their users to use their corporate credentials to access Azure AD/Office 365 and the services that they have been provisioned for, and without the need for complex network infrastructure such as the one required by AD FS (see Part 3, Part 4(bis), and Part 5) or for the on-premises passwords to exist in the cloud in any form (see Part 6 of this whitepaper for the password hash synchronization (PHS) feature).

Important note PTA does NOT support organizations using Alternate Login IDs. For more information on Alternate Login IDs, see article CONFIGURING ALTERNATE LOGIN ID 2.

In addition, the seamless single sign-on (SSO) feature allows end-users to only need to type their username and not their password to sign in to Azure AD/Office 365 or other cloud apps and services when they are on their corporate machines and connected on the organization’s corporate network.

Note For more information, see blog post INTRODUCING #AZUREAD PASS-THROUGH AUTHENTICATION AND SEAMLESS SINGLE SIGN-ON 3.

Objectives of this paperThis document complements Part 1 and Part 2 of this whitepaper by providing an end-to-end walkthrough to rollout a working PTA and seamless SSO configuration for Azure AD/Office 365.

Non-objectives of this paperIt doesn’t provide an understanding of the different seamless sign-in deployment options with Azure AD/Office 365. This is specifically the intent of the aforementioned first part that covers all the key aspects the readers should understand to successfully achieve seamless sign-in with Azure AD/Office 365 for their organization.

Organization of this paperTo cover the aforementioned objectives, this document is organized in the following 4 sections:

SETTING UP THE BASE CONFIGURATION TEST LAB.1 Microsoft Office 365: http://office.microsoft.com/en-us/business/2 CONFIGURING ALTERNATE LOGIN ID: https://technet.microsoft.com/en-us/library/dn659436.aspx3 INTRODUCING #AZUREAD PASS-THROUGH AUTHENTICATION AND SEAMLESS SINGLE SIGN-ON: https://blogs.technet.microsoft.com/enterprisemobility/2016/12/07/introducing-azuread-pass-through-authentication-and-seamless-single-sign-on/

Azure AD/Office 365 seamless sign-in 1

Page 4: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

SETTING UP PTA AND SEAMLESS SSO WITH THE AZURE AD/OFFICE 365 TENANT. UNDERSTANDING PTA AND SEAMLESS SSO. UNDERSTANDING PTA AND SEAMLESS SSO.

These sections provide the information details necessary to (hopefully) successfully build a working environment for the scenario. They must be followed in order.

About the audienceThis document is thus intended for system architects and IT professionals who are interested in understanding the PTA and seamless SSO features of Azure AD/Office 365 from a hand-practice perspective.

2 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 5: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Setting up the base configuration test labBy following the instructions outlined hereafter, you should be able to successfully prepare your on-premises test lab environment based on virtual machines (VMs) running in Azure to later deploy and configure the test environment, install and configure it.In order to complete the document’s walkthrough, you need an environment that consists of the following components for the Azure-based test lab infrastructure:

Two computers running Windows Server 2012 R2 (named DC1 respectively DC2 by default) that will be configured as a domain controller with a test user and group accounts, and Domain Name System (DNS) servers. DC1 will host Azure AD Connect for the sync between the Azure-based test lab infrastructure and the Azure AD/Office 365 subscription.,

One intranet computer running Windows 8.1 (named LAPTOP1).If you’ve already followed the walkthrough of Part 2, the DC1 and DC2 computers that pertain to the Azure-based test lab infrastructure should already be in place. If you haven’t yet conducted this rollout, this is the time to do so. The rest of this document makes the assumption that such an evaluation environment is in place. You don’t need the ADFS1, ADFS2, WAP1, and WAP2 computers that are part of this lab environment. You can leave them turned off for the rest of this document.The above Azure VMs will enable you to:

Connect to the Internet to install updates, and access Internet resources in real time.

Later configure them with Azure AD Connect to finally get a relevant Azure-based test infrastructure.

Remotely managed those using a Point-to-Site (P2S) connection and then Remote Desktop (RDP) connections by your computer that is connected to the Internet or your organization network.

Note You must be logged on as a member of the Domain Admins group or a member of the Administrators group on each computer to complete the tasks described in this guide. If you cannot complete a task while you are logged on with an account that is a member of the Administrators group, try performing the task while you are logged on with an account that is a member of the Domain Admins group.

Create snapshots so that you can easily return to a desired configuration for further learning and experimentation.

For illustration purposes, we’ve opted to configure the domain litware369.com (LITWARE369). You will have to choose in lieu of a domain name of yours. For checking purpose, you can for instance use the domain search capability provided by several popular domain name registrars. Whenever a reference to litware369.com is made in a procedure, it has to be replaced by the DNS domain name of your choice to reflect accordingly the change in naming. Likewise, any reference to LITWARE369 should be substituted by the NETBIOS domain name of your choice.For the sake of simplicity, the same password "Pass@word1!?" is used throughout the procedures detailed in this document. This is neither mandatory nor recommended in a real-world scenario.

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 3

Page 6: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

To perform all the tasks in this guide, we will use the local administrator account AzureAdmin or alternatively the LITWARE369 domain administrator account AzureAdmin for each VM, unless instructed otherwise.

Deploying the LAPTOP1 computer in the test lab environmentSee eponym section in Part 6 of this whitepaper.

Joining the LAPTOP1 computer to the LITWARE369 domainSee eponym section in Part 6 of this whitepaper.

Accessing the various machines of the test lab environmentSee eponym section in Part 2 of this whitepaper.

4 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 7: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Setting up PTA and seamless SSO with the Azure AD/Office 365 tenantThis section provides a walkthrough on how to setup pass-through authentication (PTA) and seamless single sign-on (SSO) between the on-premises Active Directory (e.g. litware369.com) and the Azure AD/Office 365 tenant (e.g. litware369.onmicrosoft.com) to offer a seamless user experience to access cloud resources, for example an Office 365 Enterprise E3 subscription in our configuration.For the sake of simplicity, and to set up the directory synchronization and the password hash synchronization between the on-premises infrastructure of our test lab environment in Azure and the litware369.onmicrosoft.com tenant in the cloud, we will leverage the single and unified wizard Azure Active Directory Connect (Azure AD Connect).Azure AD Connect indeed provides a single and unified wizard that streamlines the overall onboarding process for both directory synchronization (single or multiple directories) AND single sign-on if you want to, and thus that automatically performs the following steps: download and setup of all the pre-requisites, download, setup and guided configuration of the synchronization engine, activation of the synchronization in the Azure AD tenant, setup, and/or configuration of AD FS, etc.Azure AD Connect is the one stop shop for connecting your on-premises directories to Azure AD, whether you are evaluating, piloting, or in production.

Note For more information, see articles INTEGRATING YOUR ON-PREMISES IDENTITIES WITH AZURE ACTIVE DIRECTORY 4.

In the context of this part, Azure AD Connect is the delivery mechanism to install Azure AD Application Proxy which PTA uses. The Azure AD Application Proxy connector will be installed on the Azure AD Connect computer and will be registered to handle pass-through authentication traffic.

Important Note The Azure AD Application Proxy installed with Azure AD Connect will only work with Azure AD Connect, Azure AD Application Proxy connectors should be hosted on other servers.

This section walks you through the use of the single wizard Azure AD Connect on the DC1 computer to fully configure the Azure-based infrastructure from an identity perspective and establish the identity bridge between it and your Azure AD/Office 365 subscription. It comprises the following eight steps:

1. Downloading Azure AD Connect.2. Executing Azure AD Connect and installing the first instance of the PTA connector.3. Configuring additional tasks.4. Setting up a second instance of the connector for PTA.5. Setting up a second instance of the connector for PTA6. Ensuring clients sign-in automatically from the corporate network.7. Verifying the pass-through authentication (PTA) with the Azure AD/Office 365

tenant.8. Verifying the seamless single sign-on (SSO) with the Azure AD/Office 365 tenant.

4 INTEGRATING YOUR ON-PREMISES IDENTITIES WITH AZURE ACTIVE DIRECTORY: https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 5

Page 8: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

The following subsections describe each of these steps in the context of our test lab environment.

Downloading Azure AD ConnectAzure AD Connect is a single wizard that performs all the steps you would otherwise have to do manually to connect your Active Directory (and local directories if any) to Azure AD. Azure AD Connect will:

Install pre-requisites like the Azure Active Directory Module for Windows PowerShell (64-bit version)5 and Microsoft Online Services Sign-In Assistant6.

Note The Azure Active Directory PowerShell Module is regularly updated with new features and functionality. The above link should always point to the most current version of the module. For more information, see article MICROSOFT AZURE ACTIVE DIRECTORY POWERSHELL MODULE VERSION RELEASE HISTORY 7.

Install and configure the sync engine, and enable directory synchronization in the customer's Azure tenant.

Configures either password sync (w/ optional seamless single sign-on), path-through authentication (w/ optional seamless single sign-on), or AD FS, depending on which sign-on option the customer prefers, and includes any required configuration in Azure.

Verifies everything is working.Azure AD Connect is the best way to connect your on-premises directory with Azure AD and Office 365. Azure AD Connect is replacing DirSync and Azure AD Sync and these two older sync engines are deprecated from April 13, 2016 reaching end of support April 13,2017. 

Note For additional information, see article UPGRADE WINDOWS AZURE ACTIVE DIRECTORY SYNC (“DIRSYNC”) AND Azure ACTIVE DIRECTORY SYNC (“AZURE AD SYNC”) 8.

To download the latest version of Azure AD Connect (e.g. version 1.1.380.0 at the time of this writing), proceed with the following steps:

1. Open a remote desktop connection on the DC1 computer. Follow the instructions as per section § SEE EPONYM SECTION IN PART 6 OF THIS WHITEPAPER. and specify in step 2 "10.0.0.101" for the DC1 computer. Log on as the LITWARE369 domain administrator account AzureAdmin with “Pass@word1!?” as password.

2. Open a browsing session and navigate to:http://www.microsoft.com/en-us/download/details.aspx?id=47594.

3. Click Download to download the Azure AD Connect MSI file (AzureADConnect.msi).

4. Click Save.

5 Azure Active Directory Module for Windows PowerShell (64-bit version): http://go.microsoft.com/fwlink/p/?linkid=2362976 Microsoft Online Services Sign-In Assistant for IT Professionals: http://go.microsoft.com/fwlink/?LinkId=2861527 MICROSOFT AZURE ACTIVE DIRECTORY POWERSHELL MODULE VERSION RELEASE HISTORY: http://social.technet.microsoft.com/wiki/contents/articles/28552.microsoft-azure-active-directory-powershell-module-version-release-history.aspx8 UPGRADE WINDOWS AZURE ACTIVE DIRECTORY SYNC (“DIRSYNC”) AND AZURE ACTIVE DIRECTORY SYNC (“AZURE AD SYNC”): https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-dirsync-deprecated

6 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 9: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Executing Azure AD Connect and installing the first instance of the PTA connectorBefore executing Azure AD Connect, you must know the credentials:

1. A domain account that is local administrator on the aforementioned computers.2. Active Directory enterprise administrator credentials.3. Azure AD tenant global administrator credentials.

If you’ve followed in order all the steps outlined before, all the above prerequisites should be enforced at this stage. So you should be good to go.To execute Azure AD Connect and configure your identity infrastructure, proceed with the following steps:

1. Open a remote desktop connection on the DC1 computer that will be also your sync server. Follow the instructions as per section § SEE EPONYM SECTION IN PART 6 OFTHIS WHITEPAPER. and specify in step 2 "10.0.0.101" for the DC1 computer. Log on as the LITWARE369 domain administrator account AzureAdmin with "Pass@word1!?” as password.

2. Run AzureADConnect.msi to launch the wizard.

3. On the Welcome to Azure AD Connect page, check I agree to the license terms and privacy notice and click Continue.

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 7

Page 10: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

4. On the Express Settings page, click Customize.

5. On the Install required components page, review the information, select any optional configuration that you require, although it’s okay to leave these unselected, and click Install.

8 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 11: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

6. On the User sign-in page, select Pass-through authentication.

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 9

Page 12: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

7. Select Enable single sign on.

8. Click Next.

10 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 13: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

9. On the Connect to Azure AD page, enter your global admin Azure AD credentials when prompted.Username: [email protected]: Pass@word1!?Click Next.

10. On the Connect your directories page, select your local active directory and enter AD credentials.Username: LIWARE369\AzureAdminPassword: Pass@word1!?Click Add Directory.

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 11

Page 14: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

11. Click Next.

12. On the Azure AD sign-in configuration page, leave USER PRINCIPAL NAME as is, i.e. userPrincipalName selected, and click Next.

12 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 15: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

13. On the Domain and OU filtering page, leave Sync all domains and OUs selected, and click Next.

14. On the Uniquely identifying your users page, leave Users are represented only once across all directories selected, leave SOURCE ANCHOR as is, i.e. objectGUID selected, and click Next.

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 13

Page 16: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

15. On the Filter users and devices page, leave Synchronize all users and devices selected, and then click Next.

16. On the Optional features page, select any additional features that you need, although it’s okay to leave these unselected, and then click Next.

14 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 17: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

17. On the Enable single sign on page, click Enter domain administrator credentials. A Windows Security dialog pops up.

18. Enter AD credentials, and then click OK.Username: AzureAdminPassword: Pass@word1!?

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 15

Page 18: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

,19. Click Next.

20. On the Ready to configure page, leave checked Start the synchronization process as soon as the configuration completes for starting the synchronization process.

Note You may assume the synchronization process will automatically start at a later time if the check mark is removed. This is not correct as you will need to enable the task in Scheduled Tasks on the server where the synchronization tool is installed. After the task is enabled, synchronization occurs every 30 minutes by default.

21. Click Install. When installation completes, verify the installation.

16 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 19: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Note Logs regarding the Azure AD Connect installation can be found in the %LocalAppData%\AADCONNECT folder. Likewise, issues with the Azure AD App Proxy connector installation are exposed in the Event Viewer log under “Application and Service Logs\Microsoft\AadApplicationProxy\Connector\Admin”.

22. Click Exit.

Configuring additional tasksYou may wish to add scale or refine your options right away, or after some time has passed. To configure additional task, proceed with the following steps:

1. Whilst still being connected on the DC1 computer, launch the wizard again using the Start page or the desktop icon called Azure AD Connect.

2. Click Configure.

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 17

Page 20: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

3. The Optional features page lists the tasks that are relevant to your configuration. Select the relevant task to your configuration you’d like to conduct, click Next, and follow the instructions.

4. Once completed, click Exit.Let’s see how to verify the synchronization on the Azure AD/Office 365 tenant.

Setting up a second instance of the connector for PTAA second connector can be installed for high availability purposes. This comprises the following steps:

1. Downloading the connector for PTA.2. Installing and configuring the connector for PTA.

Note For more information, see article WHAT IS AZURE AD PASS-THROUGH AUTHENTICATION 9.

Note A second connector can be installed for high availability purposes

Downloading the connector for PTATo download the connector for PTA, proceed with the following steps:

1. Open a remote desktop connection on the DC2 computer. Follow the instructions as per section § SEE EPONYM SECTION IN PART 6 OF THIS WHITEPAPER. and specify in step 2 "10.0.0.102" for the DC2 computer. Log on as the LITWARE369 domain administrator account AzureAdmin with “Pass@word1!?” as password.

2. Open a browsing session and download the latest version of the connector from: https://go.microsoft.com/fwlink/?linkid=837580

3. Click Download to download the Azure AD Application Proxy Connector MSI file (AADApplicationProxyConnectorInstaller.msi).

9 WHAT IS AZURE AD PASS-THROUGH AUTHENTICATION: https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-pass-through-authentication

18 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 21: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

4. Open an elevated Command prompt.5. Run the following command:

PS C:\> AADApplicationProxyConnectorInstaller.exe REGISTERCONNECTOR="false" /q

Installing and configuring the connector for PTATo install and configure the connector for PTA, proceed with the following steps:

1. Open an elevated Windows PowerShell or PowerShell Integrated Scripting Environment (ISE) prompt, navigate to C:\Program Files\Microsoft AAD App Proxy Connector.

2. Run the following script:

PS C:\> .\RegisterConnector.ps1 -modulePath "C:\Program Files\Microsoft AAD App Proxy Connector\Modules\" -moduleName "AppProxyPSModule" -Feature PassthroughAuthentication

When prompted, enter the credentials of your global admin Azure AD credentials:Username: [email protected]: Pass@word1!?

Note As already outlined, issues with the Azure AD App Proxy connector installation are exposed in the Event Viewer log under “Application and Service Logs\Microsoft\AadApplicationProxy\Connector\Admin”.

Configuring the seamless single sign-on (SSO) in the LITWARE369 domainSeamless single sign-on (SSO) is an option that can be enabled in Azure AD Connect with either password (hash of) hash synchronization (PHS) (see Part 6 of this paper) or pass-through authentication (PTA). When enabled, users only need type their username and do not need not to type their password to sign in to Azure AD or other cloud services when they are on their corporate machines and connected on the corporate network.For users to use seamless SSO in your environment, you need to ensure that they are:

1. On a domain joined computer.2. Have a direct connection to a domain controller, for example on the corporate

wired or wireless network or via a remote access connection such as a VPN connection. This role is played by the LAPTOP1 computer that you’ve previously provisioned on the test lab environment.

3. Define the Kerberos end-points in the cloud as part of the browsers’ Intranet zone.If any of the above items are not present, such as the computer is off the corporate network and Active Directory is not available, then users will simply be prompted to enter their password as they would without seamless SSO.

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 19

Page 22: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Note For more information, see article WHAT IS SINGLE SIGN ON (SSO) (PREVIEW) 10.

Ensuring clients sign-in automatically from the corporate networkBy default, browsers will not attempt sending credentials to web servers unless the URL is defined in the Intranet zone. In so far as the URLs used for seamless SSO in Azure AD contain a period because they are globally routable hostnames, they have to be explicitly added to the computer's Intranet zone, so that the browser will automatically send the currently logged in user's credentials in the form of a Kerberos ticket to Azure AD. The easiest way to add the required URLs to the Intranet zone is to simply create a group policy in Active Directory or use an existing one.Proceed with the following steps:

1. Whilst still being connected on the DC2 computer, open an elevated command prompt if none, and run the following command:

PS C:\> gpmc.msc

A Group Policy Management window brings up.

2. Double-click the name of the forest, double-click Domains, and double-click the name of the domain.

10 WHAT IS SINGLE SIGN ON (SSO) (PREVIEW): https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-sso

20 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 23: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

3. Right-click Default Domain Policy, and then click Edit. A Group Policy Management Editor window brings up.

4. In the console tree, expand Group policy that will be applied to all users. For example, the Default Domain Policy.

5. Navigate to User Configuration\Policies\Administrative Templates\Windows Components\Internet Explorer\Internet Control Panel\Security Page and select Site to Zone Assignment List.

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 21

Page 24: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

6. Enable the policy, and enter the following values/data in the dialog box.o Value: https://autologon.microsoftazuread-sso.com Data: 1 o Value: https://aadg.windows.net.nsatc.net Data: 1

7. Click OK twice.

Verifying the synchronization on the Azure AD/Office 365 tenantTo verify the synchronization on the Azure AD tenant, proceed with the following steps:

1. Open a browsing session and navigate to the Azure portal at https://portal.azure.com.

2. Sign in with your administrative credentials to your Azure subscription.3. On the left pane of the Azure management portal, click Azure Active Directory.

A Litware369 blade opens up.

22 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 25: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Note If Azure Active Directory is not listed, click More Services, type "Azure", and the select Azure Active Directory.

4. In the Quick tasks tile, click Find a user. A Users and groups – All Users blade opens up.

5. Confirm that both Janet Schorr and Robert Hatley are listed.

Verifying the pass-through authentication (PTA) with the Azure AD/Office 365 tenantTo verify the "same sign-on" with the Azure AD/Office 365 tenant (e.g. litware369.onmicrosoft.com), proceed with the following steps:

1. Open a browsing session from your external local computer and navigate to the Office 365 portal at https://portal.office.com.

2. Type [email protected] and specify your Active Directory password.If pass-through authentication (PTA) is correctly set up, your credentials are passed to the on-premises Active Directory forest, and, if verified, you should have a seamless access to the signed in user settings in the Office 365 portal.

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 23

Page 26: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

No tiles are displayed for the online apps. This is expected for the test user as in fact you have not assigned a license to the test user.

Verifying the seamless single sign-on (SSO) with the Azure AD/Office 365 tenantTo verify the seamless single sign-on (SSO) with the Azure AD/Office 365 tenant (e.g. litware369.onmicrosoft.com), proceed with the following steps:

1. Open a remote desktop connection on the LAPTOP1 computer. Follow the instructions as per section § ACCESSING THE VARIOUS MACHINES OF THE TEST LABENVIRONMENT and specify in step 2 the IP address for the LAPTOP1 computer11. Log on as the LITWARE369 user account JanetS with "Pass@word1!?” as password.

2. Open a browsing session from your external local computer and navigate to the Office 365 portal at https://portal.office.com.If seamless single sign-on (SSO) is correctly set up, you should have a seamless access to the signed in user settings in the Office 365 portal.No tiles are displayed for the online apps. This is expected for the test user as in fact you have not assigned a license to the test user.

Troubleshooting the configurationTroubleshooting PTAWhen troubleshooting pass-through authentication (PTA), there are a few different categories of problems that can occur. Depending on the type of problem you may need to look in different places.

11 This address has been assigned dynamically and can be found using the Azure Portal when selecting the LAPTOP1 VM and the Network interfaces.

24 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 27: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Note For more information, see article WHAT IS AZURE AD PASS-THROUGH AUTHENTICATION 12.

Connector issuesTo resolves connector issues, you can start investigating the followings:

Note For more information, see article TROUBLESHOOT APPLICATION PROXY 13.

1. For errors that relate to the Azure AD Application Proxy connector, you can check as mentioned before the Event Log of the connector’s computer under “Application and Service Logs\Microsoft\AadApplicationProxy\Connector\Admin”.

2. Additional information can also be found in the trace logs for the connector in:C:\Users\AzureAdmin\AppData\Local\AADConnect\Trace-YYYYMMDD-XXXXXX.log -or- C:\Programdata\Microsoft\Microsoft AAD Application Proxy Connector\Trace

3. If needed, more detailed logs are available by viewing the analytics and debugging logs, and enabling the connector session log. Note it is not recommended to run with this log enabled by default and the contents are only visible after the log is disabled.

Authentication and Kerberos issuesTo resolves authentication and Kerberos issues, you can start investigating the followings:

1. For errors related to Kerberos authentication, you can check Security and System Event Log on domain controllers. Issues can be linked to different date and time between back end connector and domain controllers or wrong or missing Service Principal Names (SPN) in Active Directory:XML filter can be used to get relevant information about PTA Connector in the security Event

<QueryList> <Query Id="0" Path="Security"> <Select Path="Security">*[EventData[Data[@Name='ProcessName'] and (Data='C:\Program Files\Microsoft AAD App Proxy Connector\ApplicationProxyConnectorService.exe')]]</Select> </Query></QueryList>

2. Additional information can also be found in the trace logs in C:\Programdata\Microsoft\Microsoft AAD Application Proxy Connector\Trace. These logs also include the reason that pass-through authentication failed for an individual user.

3. Network Monitor can also be used to analyze Kerberos traffic and get specific error code.

4. Use Net helpmsg <ReasonCode> to get more information from an error code.

Network issuesAs the PTA feature uses the Azure AD Application Proxy connector for all requests, we expect most errors to come from network configuration problems. If there is a firewall in 12 WHAT IS AZURE AD PASS-THROUGH AUTHENTICATION: https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-pass-through-authentication13 TROUBLESHOOT APPLICATION PROXY: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-application-proxy-troubleshoot

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 25

Page 28: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

the path, make sure that it's open so that the connector can make HTTPS (TCP) requests to the Azure AD Application Proxy. The connector uses a series of ports together with subdomains that are part of the high-level domains msappproxy.net and servicebus.windows.net. Make sure to open the following ports to outbound traffic.

Note For more information, see article ENABLE APPLICATION PROXY IN THE AZURE PORTAL 14.

A tool to help checking for network problems can be downloaded at http://aka.ms/aadapConnectorTroubleshoot :

Troubleshooting seamless SSOIt is important to make sure the client is correctly configured for seamless SSO including the following:

Note For more information, see article WHAT IS SINGLE SIGN ON (SSO) (PREVIEW) 15.

1. Both https://autologon.microsoftazuread-sso.com and https://aadg.windows.net.nsatc.net are defined within the Intranet zone.

2. Ensure the computer is joined to the domain, for example the LITWARE369 domain in our configuration.

3. Ensure the user is logged on with a domain account.4. Ensure the computer is connected to the corporate network, for example on the

Internal-sn in our test lab configuration.5. Ensure that the computer's time is synchronized with the Active Directory and the

domain controllers time is within 5 minutes of the correct time.6. Purge the clients existing Kerberos tickets, for example by running the following

command from an elevated command prompt.

C:\> "klist purge"

7. Ensure the Kerberos SPNs are present and correct for the AzureADSSOAcc$ account in Active Directory.

14 ENABLE APPLICATION PROXY IN THE AZURE PORTAL: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-application-proxy-enable15 WHAT IS SINGLE SIGN ON (SSO) (PREVIEW): https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect-sso

26 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 29: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

If you have been able to confirm the above requirements, you can review the console logs of the browser for additional information. The console logs can be found under developer tools. This will help you determine the potential problem.Every time a user logs in with single sign on an entry is recorded in the event log of the domain controller, if success auditing is enabled. To find these events, you can review the Event logs for the security Event 4769 associated with computer account AzureADSSOAcc$. The filter below finds all security events associated with the computer account:

<QueryList> <Query Id="0" Path="Security"> <Select Path="Security">*[EventData[Data[@Name='ServiceName'] and (Data='AZUREADSSOACC$')]]</Select> </Query><QueryList>

You are now in a position to further test the environment.

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 27

Page 30: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Understanding PTA and seamless SSOUnderstanding PTASupported clientsPass-through authentication (PTA) is supported via web browser based clients and Office clients that support modern authentication16. For clients that are not support such as legacy Office clients, Exchange active sync (i.e. native email clients on mobile devices), customers are encouraged to use the modern authentication equivalent. This not only allows the PTA feature, but also allows for conditional access to be applied, such as multi-factor authentication.

Understanding PTA sign-inLet’s illustrate a typical PTA flow.

LITWARE369 Customer Premises

On-premises directory

Azure AD Connect

User accounts

Office 365 Identity Platform

Azure Active Directory Sign-in Service

Directory Store

2 .Username and password sent to Azure AD Application Proxy

ConnectorAzure AD Application Proxy

service

1. Username and password

8. Token returned to use or further proofs (MFA) are initiated

7. Result returned back to Azure AD sign-in

service6. Connector

notified of request

3. Connector returns result4. Connector

validates the credentials against AD 2. Pooling

5. DC returns result

Figure 1 Pass-through authentication flow1. When a user enters their username and password into the Azure AD sign-in page.2. Azure AD sent the username and password to the Azure AD Application Proxy

service. 3. The Azure AD Application Proxy service places the username and password on the

appropriate on-premises connector queue for validation. 4. One of the available on-premises connectors then retrieves the username and

password and validates it against Active Directory. 5. The validation occurs over standard Windows APIs similar to how Active Directory

Federation Services (AD FS) validates password. The on-premises domain controller then evaluates the request and returns a response to the connector.

6. The connector returns this to the Azure AD Application Proxy service. 7. The Azure AD Application Proxy service returns it back in turn to Azure AD.8. Azure AD then evaluates the response and responds to the user as appropriate,

for example by issuing a token for the application or asking for multi-factor authentication (MFA).

16 Modern authentication: https://aka.ms/modernauthga

28 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 31: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Understanding seamless SSOSupported clientsThe seamless SSO feature is supported via web browser based clients and Office clients that support modern authentication17 on computers that are capable of Kerberos authentication, such as Windows. The following table provides details of the browser based clients on various operating systems.

Table 1 Supported clients per OS/Browsers

Operating systems Internet Explorer

Chrome Firefox Edge

Windows 10 Yes Yes Yes* NoWindows 8.1 Yes Yes Yes* N/AWindows 8 Yes Yes Yes* N/AWindows 7 Yes Yes Yes* N/AMac OS/X N/A N/A N/A N/A

* Requires separate configuration

A word about modern authenticationModern authentication is an OAuth-based authentication stack used by Office 2013/2016 client applications against Office 365. This enables sign-in features such as Multi-Factor Authentication (MFA), SAML 2.0-based third-party identity providers with Office 2013/2016 client applications, smart card and certificate-based authentication, and it removes the need for Outlook to use the basic authentication protocol. From a technical implementation standpoint, the Active Directory Authentication Library (ADAL) replaces for Windows clients the Microsoft Online Sign-in Assistant (SIA).

Understanding seamless SSO flowsLet’s illustrate a typical seamless SSO flow.

LITWARE369 Customer Premises

On-premises directory

Office 365 Identity Platform

Azure Active Directory Sign-in Service

Directory Store

4. Returns Kerberos ticket

1. Challenge for Kerberos ticket2. Ticket request from

Active Directory3. DC returns

result

Figure 2 Seamless SSO flowFirst the user attempts to access a resource that trusts security tokens issued from Azure AD, such as SharePoint Online (SPO) for Office 365. SharePoint Online then redirects the user to authenticate against Azure AD. The user is then invited to provide their username so that Azure AD can establish if the seamless SSO feature is enabled for their organization. Assuming seamless SSO is enabled for the organization, the following occurs:17 Modern authentication: Ibid

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 29

Page 32: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

1. Azure AD challenges the client, via a 401 unauthorized response, to provide a Kerberos ticket.

2. The client requests a ticket from Active Directory for the Azure AD.3. Active Directory locates the computer account, created by Azure AD Connect and

returns a Kerberos ticket to the client, encrypted with the machine account's secret. The ticket includes the identity of the user currently signed in to the computer.

4. The client sends the Kerberos ticket it acquired from Active Directory to Azure AD.5. Azure AD decrypts the Kerberos ticket using the previously shared key, and then

either returns a token to the user or asks the user to provide additional proofs such as multi-factor authentication as required by the resource.

Seamless SSO is an opportunistic feature, which means that if it fails for some reason, the user simply need only enter their password on the sign-in page as usual.

30 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 33: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Monitoring your on-premises deployment (Optional)This last section of this document provides and introduction to Azure Active Directory Connect Health (Azure AD Connect Health). This cloud based service in the new Azure Portal18 helps you monitor and gain insight into health, performance and login activity of your on-premises identity infrastructure. It thus offers you the ability to view alerts, performance, usage patterns, configuration settings, enables you to maintain a reliable Azure AD connection, and much more. Azure AD Connect Health represents a key part of our effort to help you monitor and secure your cloud and on-premises identity infrastructure.

Note For more information, see article MONITOR YOUR ON-PREMISES IDENTITY INFRASTRUCTURE AND SYNCHRONIZATION SERVICES IN THE CLOUD 19.

Note Azure AD Connect Health is a feature of the Azure AD Premium P1 edition. For a description of this edition below and a comparison table, see article AZURE ACTIVE DIRECTORY EDITIONS 20.

This section walks you through the process of configuring this service for your existing on-premises deployment as per this document. The process consists in the following five steps:

1. Getting started with the Azure AD Connect Health service.2. Configuring Azure AD Connect Health for Sync.3. Configuring Azure AD Connect Health for AD DS.4. Using the Azure AD Connect Health service.

The following subsections describe in the context of our test lab environment each of these steps.Like before, and unless noticed otherwise, all the instructions should be done on the DC1 computer.

Getting started with the Azure AD Connect Health serviceTo get started with and use the Azure AD Connect Health service, proceed with the following tasks:

1. Open a browsing session for your external personal computer and navigate to the Azure portal at https://portal.azure.com/.

2. Sign in when prompted with your Azure AD/Office 365 Enterprise global administrator account such as:Username: [email protected]: Pass@word1!?Click Next.

18 Azure Preview Portal: https://portal.azure.com/19 MONITOR YOUR ON-PREMISES IDENTITY INFRASTRUCTURE AND SYNCHRONIZATION SERVICES IN THE CLOUD: https://docs.microsoft.com/en-us/azure/active-directory/connect-health/active-directory-aadconnect-health20 AZURE ACTIVE DIRECTORY EDITIONS: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-editions

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 31

Page 34: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

3. Click the Marketplace tile, and then select Security + Identity, or search for it by typing “Identity”.

4. Under recommended, click Azure AD Connect Health. An introductory blade opens up.

5. Click Create. This will open another blade with your directory information.

32 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 35: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

6. Click Create.

Note If you do not have an Azure Active Directory Premium P1 license, you will need one to use Azure AD Connect Health as previously noticed. See article WHAT IS MICROSOFT AZURE ACTIVE DIRECTORY LICENSING? 21. You can sign-up for a trial at https://portal.office.com/Signup/Signup.aspx?OfferId=01824d11-5ad8-447f-8523-666b0848b381.

Once created, you can now access the Azure AD Connect Health Portal22 that allows you to view alerts, performance monitoring, and usage analytics. Upon first accessing Azure AD Connect Health, a first blade is presented.

In order to see any data in your instance of Azure AD Connect Health, you will need to install the Azure AD Connect Health agents on your targeted servers, for example the six computers in our configuration. This is the purpose of the next sections.

Configuring Azure AD Connect Health for SyncThe Azure AD Connect Health agent for Sync is installed as part of the Azure AD Connect installation (version 1.0.9125.0 or higher). So this is already completed with our prior installation and configuration of Azure AD Connect (version 1.1.380.0 in our configuration). See section § ERROR: REFERENCE SOURCE NOT FOUND. To verify the agent has been installed, look for the following services on the DC1 computer. If you completed the configuration, they should already be running:

1. Azure AD Connect Health Sync Insights Service.2. Azure AD Connect Health Sync Monitoring Service.

21 WHAT IS MICROSOFT AZURE ACTIVE DIRECTORY LICENSING?: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-licensing-what-is22 Azure AD Connect Health Portal: https://aka.ms/aadconnecthealth

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 33

Page 36: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Note For more information, see article AZURE AD CONNECT HEALTH AGENT INSTALLATION 23.

Configuring Azure AD Connect Health for AD DSDownloading the health agent for AD DSTo download the latest version of health agent for AD DS, proceed with the following steps:

1. Open a remote desktop connection on the DC1 computer that will be also your sync server. Follow the instructions as per section § SEE EPONYM SECTION IN PART 6 OFTHIS WHITEPAPER. and specify in step 2 "10.0.0.101" for the DC1 computer. Log on as the LITWARE369 domain administrator account AzureAdmin with "Pass@word1!?" as password.

2. Open a browsing session and navigate to the Azure AD Connect Health portal.3. Click the Quick Start tile. An eponym Quick Start blade opens up. 4. Under Get tools, click Download Azure AD Connect Health for AD DS to

download the health agent (AdHealthAddsAgentSetup.exe)

5. Click Save.6. Repeat above steps on the DC2 computer.

Installing and configuring the health agent for AD DSTo download the latest version of health agent for AD DS, proceed with the following steps:

1. Open a remote desktop connection on the DC1 computer that will be also your sync server. Follow the instructions as per section § SEE EPONYM SECTION IN PART 6 OFTHIS WHITEPAPER. and specify in step 2 "10.0.0.101" for the DC1 computer. Log on as the LITWARE369 domain administrator account AzureAdmin with "Pass@word1!?" as password.

2. Double-click the AdHealthAddsAgentSetup.exe file you’ve downloaded in the previous section. A dialog pops up.

3. The Azure Active Directory Connect Health Setup dialog shows up.

4. On the first screen, read the EULA, and then click Install. The install begins.

23 AZURE AD CONNECT HEALTH AGENT INSTALLATION: https://docs.microsoft.com/en-us/azure/active-directory/connect-health/active-directory-aadconnect-health-agent-install

34 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 37: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

5. Once the installation is finished, click Configure Now. A command prompt with elevated privileges opens up.

As stated, an elevated PowerShell command prompt is then launched to execute the following command while the initial command prompt closes:

Register-AzureADConnectHealthADDSAgent

6. A Sign in to your account dialog opens up.

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 35

Page 38: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

7. Type "[email protected]" for your Azure AD/Office 365 Enterprise global administrator and click Continue.

8. Enter the password of the [email protected] user, e.g. “Pass@word1!?” in our configuration, and then click Sign in. The health agent registration process starts.

Executing Elevated PowerShell Command: Register-AzureADConnectHealthADDSAgent2017-01-05 10:37:00.735 ProductName: Microsoft Azure AD Connect Health agent for AD DS, FileVersion: UTC Time: 2017-01-05 10:37:00Z

2017-01-05 10:37:00.893 AHealthServiceUri (ARM): https://management.azure.com/providers/Microsoft.ADH/

2017-01-05 10:37:00.893 AdHybridHealthServiceUri: https://adds.aadconnecthealth.azure.com/

2017-01-05 10:37:03.098 AHealthServiceApiVersion: 2014-01-01

2017-01-05 10:43:28.828 Detecting AdDomainService roles...

2017-01-05 10:43:29.562 Detected the following role(s) for litware369.com:

2017-01-05 10:43:29.562 Active Directory Domain Services

2017-01-05 10:43:34.915 Aquiring Monitoring Service certificate using tenant.cert

2017-01-05 10:43:42.506 Successfully aquired and stored Monitoring Service certificate: Subject=CN=DCc-4be2-9b86-5b3513ecb22e, OU=Microsoft ADFS Agent, Issuer=CN=Microsoft PolicyKeyService Certificate Ant=25E0F7EE2D344DF31888B7E223795DFD29D4DFBF

2017-01-05 10:43:42.521 Fetched and stored agent credentials successfully...

2017-01-05 10:43:44.432 Started agent services successfully...

Test-AzureADConnectHealthConnectivity completed successfully...

2017-01-05 10:44:02.807 Agent registration completed successfully.

Detailed log file created in temporary directory:

36 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

Page 39: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

C:\Users\AzureAdmin.LITWARE369\AppData\Local\Temp\2\AdHealthAddsAgentConfiguration.2017-01-05_10-37-00.logPS C:\Users\AzureAdmin.LITWARE369\Downloads>

9. To verify the agent has been successfully installed and configured, click Tools in Server Manager, and then select Services. An eponym window Services opens up.

10. Look for the following services: a. Azure AD Connect Health AD DS Insights Service.b. Azure AD Connect Health AD DS Monitoring Service.

These services should be started automatically and the agent will be now monitoring and gathering data.

11. Repeat above steps on the DC2 computer.

Note For more information, see article AZURE AD CONNECT HEALTH AGENT INSTALLATION 24.

At this stage, you should now be in position to monitor your on-premises deployment.

Using the Azure AD Connect Health serviceTo now use the Azure AD Connect Health service, proceed with the following tasks:

1. Open a browsing session and navigate to the Azure Preview Portal at https://portal.azure.com/.

2. Sign in when prompted with your Azure AD/Office 365 Enterprise global administrator account such as:Username: [email protected]: Pass@word1!?

3. Select Azure AD Connect Health. An introductory blade opens up.4. Click Azure Active Directory Connect (Sync). An eponym blade opens up.

Synchronization should appear as healthy.

5. Back to introductory blade of Azure AD Connect Health, finally click Active Directory Domain services. A new blade opens up for AD DS as you might expect.

24 AZURE AD CONNECT HEALTH AGENT INSTALLATION: https://docs.microsoft.com/en-us/azure/active-directory/connect-health/active-directory-aadconnect-health-agent-install

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 37

Page 40: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

Note For more information on the various health topics (alerts, performance monitoring, usage analytics, properties, etc.), see articles AZURE AD CONNECT HEALTH OPERATIONS 25, USING AZURE AD CONNECT HEALTH FOR SYNC 26, USING AZURE AD CONNECT HEALTH WITH AD FS 27, and USING AZURE AD CONNECT HEALTH WITH AD DS 28.

This concludes the seventh and final part of the whitepaper.

25 AZURE AD CONNECT HEALTH OPERATIONS: https://docs.microsoft.com/en-us/azure/active-directory/connect-health/active-directory-aadconnect-health-operations26 USING AZURE AD CONNECT HEALTH FOR SYNC: https://docs.microsoft.com/en-us/azure/active-directory/connect-health/active-directory-aadconnect-health-sync

38 Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO

The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication.This white paper is for informational purposes only. Microsoft makes no warranties, express or implied, in this document.Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in, or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation.Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property.© 2017 Microsoft Corporation. All rights reserved.The example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious. No association with any real company, organization, product, domain name, e-mail address, logo, person, place, or event is intended or should be inferred. Microsoft, list Microsoft trademarks used in your white paper alphabetically are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.The names of actual companies and products mentioned herein may be the trademarks of their respective owners.

Page 41: Azure AD/Office 365 seamless sign-in - download.microsoft.comdownload.microsoft.com/.../AAD-Office-365-Seamless-Sign-In-Part-7.d…  · Web viewAzure AD Connect indeed provides a

27 USING AZURE AD CONNECT HEALTH WITH AD FS: https://docs.microsoft.com/en-us/azure/active-directory/connect-health/active-directory-aadconnect-health-adfs28 USING AZURE AD CONNECT HEALTH WITH AD DS: https://docs.microsoft.com/en-us/azure/active-directory/connect-health/active-directory-aadconnect-health-adds

Azure AD/Office 365 seamless sign-in - Part 7 – Understand and implement PTA and seamless SSO 39