SlideShare a Scribd company logo
1 of 34
Office 365;
Azure AD Connect:
Technical Deep Dive
MICHAEL NOEL, CCO
Michael Noel @MichaelTNoel
Authored 20 books including the best
selling SharePoint, Exchange, and
Windows Unleashed series
Presented at over 220 events in over 80
countries around the world
Microsoft MVP, first awarded in 2007
Partner at Convergent Computing in the
San Francisco Bay Area (cco.com)
Architectural Best
Practices
Why Azure AD Connect?
Quite simply, the most effective and
supported method of synching On-Premises
Active Directory with Azure Active Directory
(Office 365’s Directory.)
Simplifies Single Sign On (SSO) to SAAS
applications
Released by Microsoft in 2015, AADC
combines functionality provided by multiple
tools previously
◦ DirSync
◦ Active Directory Federation Services (though
services still required)
◦ AADSync
Runs on a Domain/Workgroup Member
Server, easy to configure
Design and Planning – AADC Consoles
For most organizations, single console session will suffice (snapshot backup
config)
For larger organizations or orgs with high SLAs, consider deploying secondary
Azure AD Connect console, but run second console in staging mode. In the
event of an outage, turn off staging mode on secondary server
Recommended to run on domain-joined system inside the network, with
restrictions placed on traffic to MS-defined IP ranges.
Alternatively, if policy dictates, it can be installed on a Workgroup member in
the DMZ, though note that there are a large number of ports required to be
open to domain controllers inside the network.
Supported Configurations
Single Domain/Forest/Tenant (Express
Mode Default)
Multiple Forests / Single AADC / Single
Tenant
Multiple Forests / Multiple AADC /
Multiple Tenants
(Only one AADC per tenant!)
Advanced Supported Configurations
Multiple forests, separate topologies Multiple forests: full mesh with optional GALSync
Each object only
once in an Azure
AD tenant
Staging Server
Configuring a dedicated server
as a ‘Staging Server’ is the
preferred failover and DR
option for AADC
A server in ‘Staging Mode’
won’t actually export any
changes to Azure AD, but will
keep information up to date
Failover simply involves turning
off staging mode and running a
full sync
Installation Best
Practices
Install – Prerequisites and Software
Hardware
◦ 2GB RAM (4GB for 5000+ users)
◦ 1 CPU (2CPU for 5000+ users)
Typically virtual server session
Software
◦ Windows Server 2008, Windows Server 2008 R2, Windows Server
2012, Windows Server 2012 R2, or Windows Server 2016 (preferred)
◦ Download link: http://is.gd/azureadconnect
Install – SQL Options
Most organizations install simple SQL Server Express
instance for AADC (SQL 2008 R2+)
Full SQL Server can be used if needing to utilize an
existing farm
AlwaysOn Availability Groups are now supported for
AADC Database failover
Express Settings vs. Custom
Small organizations with a single
domain/forest may choose
Express Settings
This does not allow for much
advanced customization, such as
OU filtering, custom service
account, or many other things you
may need
Recommended to choose a
custom install in most cases
Install – Custom Service Account
If you don’t choose a custom service
account, MS will create one for you –
This account will start with MSOL_ and
will contain a long GUID name in it.
In addition, MS will attempt to configure
security settings for this account within
the forest, adding root level permissions
Most organizations will likely prefer to
control the creation of this account and
assign it permissions to only those OUs
necessary. Subsequently, a custom
service account that is pre-created is
advised
Rights Required: http://is.gd/aadcsvc
Install – Choose SSO Option
Password Hash Synchronization – copies
the internal AD password hashes to the
cloud, allowing for SSO using the same
username/password combo
Pass-through authentication – option
where hash is NOT stored in cloud.
Requires an on-prem agent
Federation with AD FS – Utilizes MS AD
FS for SSO, requires AD FS setup
Federation with PingFederate – New
option, direct integration with Ping
Do not configure – Used if you are using
other 3rd party such as Okta
Azure AD Username
Most organizations will use
the User Principal Name
(UPN) to create usernames
in AADC (highly
recommended)
Options exist to choose
other attributes for
usernames, but only use
for fringe scenarios
OU Filtering
Highly recommended to restrict AADC
to only sync users within specific Ous
This will keep Azure AD from being
overpopulated with service accounts
and other accounts which may never
need to login to cloud services
This option also allows you to move
objects to non-synched OUs for testing,
migration, or other options.
Identifying Users
Source Anchor is a critical
concept in AD
Consider changing the
defaults only in specific
fringe scenarios
ObjectGUID is not longer
the default, MS now defaults
to using Ms-Ds-
ConsistencyGUID as source
anchor
Group Filtering
Option exists to filter
out objects from sync
based on membership
in a group
Not a recommended
option except for with
initial testing
Optional Features
MS provides for multiple additional options when
configuring AADC
These options can be added at a later time as needed
(such as when enabling Exchange hybrid)
Options include:
◦ Exchange hybrid deployment
◦ Exchange Mail Public Folders
◦ Azure AD app and attribute filtering
◦ Password writeback
◦ Group writeback
◦ Device writeback
◦ Directory extension attribute sync
Recommendation: Wait to Sync Until All
Changes Made and Validated
At the end of the steps to the
wizard, the default setting is to
immediately start the
synchronization process
Recommended to wait to sync
until all additional configuration
has been done and you have
tested in staging mode
Advanced Configuration
Advanced – Restrict by Attribute
For attribute level synching
restrictions, create an inbound
sync rule from within the
Synchronization Rules Editor
Be sure that your syntax is
accurate.
In this example, it means that we
are EXCLUDING all accounts that
have their employeeID field set to
NULL
NOTE: These settings are
overwritten during upgrades,
ensure that you re-apply settings
after you update AADC.
Synchronize Custom Extensions
You may want to add additional fields
from Active Directory to Azure AD. For
example, you may desire to have user
mobile phone numbers synched from
AD DS to Azure AD to allow them to be
used as part of SharePoint Online
profiles
Select which attributes to sync in the
‘Directory Extensions’ portion of the
Azure AD Connect wizard to sync
Multi-Geo (Tenants with >5000 Users) –
Preferred Data Location
Allows tenants with greater than 5000 users to store
mailboxes in a preferred MS Datacenter:
◦ Asia Pacific (APC)
◦ Australia (AUS)
◦ Canada (CAN)
◦ European Union (EUR)
◦ India (IND)
◦ Japan (JPN)
◦ Korea (KOR)
◦ United Kingdom (GBR)
◦ United States (NAM)
Must configure sync rules to join custom internal attribute
(i.e. extensionAttribute5 with preferredDataLocation
attribute in AAD.)
See https://is.gd/o365multigeo for details
Self-Service Password Reset and
Writeback
Allow your users to reset their
password directly in Office 365 and
have the password synched back to AD
DS
AADC Service Account must be granted
the following rights in AD DS:
◦ Reset password
◦ Change password
◦ Write permissions on lockoutTime
◦ Write permissions on pwdLastSet
◦ Extended rights on either:
◦ The root object of each domain in that forest
◦ The user organizational units (OUs) you want to
be in scope for SSPR
Accidental Delete Prevention and
Overrides
By default, AADC will not allow you to delete more than 500 objects during any one sync cycle.
You may need to change this temporarily, though it is recommended to leave it on during normal
operations.
PowerShell commands:
Disable-ADSyncExportDeletionThreshold (Turns off Accidental Delete prevention)
Enable-ADSyncExportDeletionThreshold -DeletionThreshold 500 (Enables Accidental Delete
prevention)
GDPR Considerations: Azure AD Connect
Azure AD Connect Server stores the following user privacy data:
◦ Data about a person in the Azure AD Connect database – This is removed automatically when deleting
user from the database. Ensure you are synching at least every 48 hours.
◦ Data in the Windows Event log files that may contain information about a person – Flush event logs on
the AADC Server on a scheduled basis
◦ Data in the Azure AD Connect installation log files that may contain about a person – Script a process
to remove the Azure AD Connect installation logs every 48 hours
NOTE: Do NOT delete the PersistedState.Xml file. It is used for upgrades and does not contain personal
data
Sample PowerShell script to delete installation log files:
$Files = ((Get-childitem -Path "$env:programdataaadconnect" -Recurse).VersionInfo).FileName Foreach
($file in $files) { If ($File.ToUpper() -ne
"$env:programdataaadconnectPERSISTEDSTATE.XML".toupper()) # Do not delete this file {Remove-
Item -Path $File -Force} }
Useful PowerShell Commands
Start-ADSyncSyncCycle -PolicyType Delta – Start a manual sync immediately
Start-ADSyncSyncCycle -PolicyType Initial – Perform a full sync…only needed if changing
filtering options, made changes to rule, or added attributes to sync)
Stop-ADSyncSyncCycle – Stop a running AD Sync in order to make changes to config
Get-ADSyncScheduler – View current configuration
Set-ADSyncScheduler -SyncCycleEnabled $false – Turn off sync (set to true to turn back on)
Set-ADSyncScheduler -CustomizedSyncCycleInterval 02:00:00 – Change Sync Schedule to
synchronize every two hours
Add-ADSyncAADServiceAccount – Used to reset the AADC service account’s password
mS-DS-ConsistencyGuid – A Warning
Azure AD Connect defaults to using MS-DS-
ConsistencyGuid as the Source Anchor object
This needs to be unique across ALL of Microsoft
Office 365 tenancies
This means that if you are performing
migrations or synching accounts from one forest
to another, be sure to EXCLUDE that attribute
from the sync, or your migrated users will NOT
be able to access their accounts!
Azure AD Connect
Health
Azure AD Connect Health
Azure AD Premium Feature
(Requires additional licensing)
Monitor the following:
◦ Azure AD Connect
◦ Azure AD DS Domain Controllers
◦ AD FS Servers
NOTE: Not available in the
Microsoft Germany cloud
Install Azure AD Connect Health Agents
on AD DS Domain Controllers
Install AD DS Health
Agents on all domain
controllers to monitor
them from the Azure
AD Health Service
Pay special attention
to the prerequisites,
particularly which
websites need to be
allowed
Agents for AD FS
servers can also be
downloaded
Thank you! Questions?
Michael Noel
CCO.com
@MichaelTNoel
Facebook.com/MichaelNoel
Linkedin.com/in/MichaelTnoel
SharingTheGlobe.com
Slideshare.net/MichaelTnoel

More Related Content

What's hot

What's hot (20)

Az 104 session 5: Azure networking
Az 104 session 5: Azure networkingAz 104 session 5: Azure networking
Az 104 session 5: Azure networking
 
Windows Azure Active Directory
Windows Azure Active DirectoryWindows Azure Active Directory
Windows Azure Active Directory
 
Introduction to Azure AD and Azure AD B2C
Introduction to Azure AD and Azure AD B2CIntroduction to Azure AD and Azure AD B2C
Introduction to Azure AD and Azure AD B2C
 
Azure AD Connect
Azure AD ConnectAzure AD Connect
Azure AD Connect
 
Azure Active Directory
Azure Active DirectoryAzure Active Directory
Azure Active Directory
 
Azure Identity and access management
Azure   Identity and access managementAzure   Identity and access management
Azure Identity and access management
 
EWUG - Azure AD Pass-through Authentication and Seamless Single Sign-On
EWUG - Azure AD Pass-through Authentication and Seamless Single Sign-OnEWUG - Azure AD Pass-through Authentication and Seamless Single Sign-On
EWUG - Azure AD Pass-through Authentication and Seamless Single Sign-On
 
Azure AD Presentation - @ BITPro - Ajay
Azure AD Presentation - @ BITPro - AjayAzure AD Presentation - @ BITPro - Ajay
Azure AD Presentation - @ BITPro - Ajay
 
Introducing Azure Arc
Introducing Azure ArcIntroducing Azure Arc
Introducing Azure Arc
 
Az 104 session 4: azure storage
Az 104 session 4: azure storageAz 104 session 4: azure storage
Az 104 session 4: azure storage
 
Az 900 session 2-core azure services
Az 900 session 2-core azure servicesAz 900 session 2-core azure services
Az 900 session 2-core azure services
 
Microsoft Azure ad in 10 slides
Microsoft Azure ad in 10 slidesMicrosoft Azure ad in 10 slides
Microsoft Azure ad in 10 slides
 
[Azure Governance] Lesson 4 : Azure Policy
[Azure Governance] Lesson 4 : Azure Policy[Azure Governance] Lesson 4 : Azure Policy
[Azure Governance] Lesson 4 : Azure Policy
 
Azure storage
Azure storageAzure storage
Azure storage
 
Azure Synapse Analytics
Azure Synapse AnalyticsAzure Synapse Analytics
Azure Synapse Analytics
 
Best Practices for Active Directory with AWS Workloads
Best Practices for Active Directory with AWS WorkloadsBest Practices for Active Directory with AWS Workloads
Best Practices for Active Directory with AWS Workloads
 
Using Active Directory in AWS
Using Active Directory in AWSUsing Active Directory in AWS
Using Active Directory in AWS
 
Architecting for Success: Designing Secure GCP Landing Zone for Enterprises
Architecting for Success: Designing Secure GCP Landing Zone for EnterprisesArchitecting for Success: Designing Secure GCP Landing Zone for Enterprises
Architecting for Success: Designing Secure GCP Landing Zone for Enterprises
 
[Azure Governance] Lesson 3 : Azure Tags
[Azure Governance] Lesson 3 : Azure Tags[Azure Governance] Lesson 3 : Azure Tags
[Azure Governance] Lesson 3 : Azure Tags
 
Microsoft Azure Fundamentals
Microsoft Azure FundamentalsMicrosoft Azure Fundamentals
Microsoft Azure Fundamentals
 

Similar to [Noel] Azure AD Connect Technical Deep Dive

Get your Hybrid Identity in 4 steps with Azure AD Connect
Get your Hybrid Identity in 4 steps with Azure AD ConnectGet your Hybrid Identity in 4 steps with Azure AD Connect
Get your Hybrid Identity in 4 steps with Azure AD Connect
Ronny de Jong
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft Private Cloud
 
SharePoint 2013 Platform Options - office 365, Azure, On premise
SharePoint 2013 Platform Options - office 365, Azure, On premiseSharePoint 2013 Platform Options - office 365, Azure, On premise
SharePoint 2013 Platform Options - office 365, Azure, On premise
David J Rosenthal
 
Azure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiAzure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish Kalamati
Girish Kalamati
 

Similar to [Noel] Azure AD Connect Technical Deep Dive (20)

Get your Hybrid Identity in 4 steps with Azure AD Connect
Get your Hybrid Identity in 4 steps with Azure AD ConnectGet your Hybrid Identity in 4 steps with Azure AD Connect
Get your Hybrid Identity in 4 steps with Azure AD Connect
 
CoLabora - Identity in a World of Cloud - June 2015
CoLabora - Identity in a World of Cloud - June 2015CoLabora - Identity in a World of Cloud - June 2015
CoLabora - Identity in a World of Cloud - June 2015
 
Taking SharePoint to the Cloud
Taking SharePoint to the CloudTaking SharePoint to the Cloud
Taking SharePoint to the Cloud
 
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure PresentationMicrosoft SQL Azure - Building Applications Using SQL Azure Presentation
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
 
SharePoint 2013 Platform Options - office 365, Azure, On premise
SharePoint 2013 Platform Options - office 365, Azure, On premiseSharePoint 2013 Platform Options - office 365, Azure, On premise
SharePoint 2013 Platform Options - office 365, Azure, On premise
 
O365Con18 - Azure AD Connect Inside and Out - Sander Berkouwer
O365Con18 - Azure AD Connect Inside and Out - Sander BerkouwerO365Con18 - Azure AD Connect Inside and Out - Sander Berkouwer
O365Con18 - Azure AD Connect Inside and Out - Sander Berkouwer
 
Office 365 Identity Management - SMBNation 2015
Office 365 Identity Management - SMBNation 2015Office 365 Identity Management - SMBNation 2015
Office 365 Identity Management - SMBNation 2015
 
Planning and deploying_share_point_farm_in_azure_gabsg_2016
Planning and deploying_share_point_farm_in_azure_gabsg_2016Planning and deploying_share_point_farm_in_azure_gabsg_2016
Planning and deploying_share_point_farm_in_azure_gabsg_2016
 
Azure Day 1.pptx
Azure Day 1.pptxAzure Day 1.pptx
Azure Day 1.pptx
 
Make IT Pro's great again: Microsoft Azure for the SharePoint professional
Make IT Pro's great again: Microsoft Azure for the SharePoint professionalMake IT Pro's great again: Microsoft Azure for the SharePoint professional
Make IT Pro's great again: Microsoft Azure for the SharePoint professional
 
Análisis de riesgos en Azure y protección de la información
Análisis de riesgos en Azure y protección de la informaciónAnálisis de riesgos en Azure y protección de la información
Análisis de riesgos en Azure y protección de la información
 
Microsoft-Azure-Overvi2222222222222ew.pptx
Microsoft-Azure-Overvi2222222222222ew.pptxMicrosoft-Azure-Overvi2222222222222ew.pptx
Microsoft-Azure-Overvi2222222222222ew.pptx
 
Azure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish KalamatiAzure from scratch part 3 By Girish Kalamati
Azure from scratch part 3 By Girish Kalamati
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
BizSpark Startup Night Windows Azure March 29, 2011
BizSpark Startup Night Windows Azure March 29, 2011BizSpark Startup Night Windows Azure March 29, 2011
BizSpark Startup Night Windows Azure March 29, 2011
 
Azure-AD.pptx
Azure-AD.pptxAzure-AD.pptx
Azure-AD.pptx
 
Azure SQL DB Managed Instances Built to easily modernize application data layer
Azure SQL DB Managed Instances Built to easily modernize application data layerAzure SQL DB Managed Instances Built to easily modernize application data layer
Azure SQL DB Managed Instances Built to easily modernize application data layer
 
Deploying your Application to SQLRally
Deploying your Application to SQLRallyDeploying your Application to SQLRally
Deploying your Application to SQLRally
 
Office 365 Directory Synchronization
Office 365 Directory SynchronizationOffice 365 Directory Synchronization
Office 365 Directory Synchronization
 
Infrastructure as a service and code using Azure - DevOps practice
Infrastructure as a service and code using Azure  - DevOps practiceInfrastructure as a service and code using Azure  - DevOps practice
Infrastructure as a service and code using Azure - DevOps practice
 

More from European Collaboration Summit

More from European Collaboration Summit (20)

ECS19 - Bram De Jager - Design a secure collaboration solution with Azure In...
ECS19 -  Bram De Jager - Design a secure collaboration solution with Azure In...ECS19 -  Bram De Jager - Design a secure collaboration solution with Azure In...
ECS19 - Bram De Jager - Design a secure collaboration solution with Azure In...
 
ECS19 - Eric Harlan - Increasing throughput of Office 365
ECS19 - Eric Harlan - Increasing throughput of Office 365ECS19 - Eric Harlan - Increasing throughput of Office 365
ECS19 - Eric Harlan - Increasing throughput of Office 365
 
ECS19 - Ahmad Najjar - Logic Apps vs Microsoft Flow - When, how and where?
ECS19 - Ahmad Najjar - Logic Apps vs Microsoft Flow - When, how and where?ECS19 - Ahmad Najjar - Logic Apps vs Microsoft Flow - When, how and where?
ECS19 - Ahmad Najjar - Logic Apps vs Microsoft Flow - When, how and where?
 
ECS19 - Michael Van Horenbeeck - Divide Et Imperat Office 365 Mergers, Acquis...
ECS19 - Michael Van Horenbeeck - Divide Et Imperat Office 365 Mergers, Acquis...ECS19 - Michael Van Horenbeeck - Divide Et Imperat Office 365 Mergers, Acquis...
ECS19 - Michael Van Horenbeeck - Divide Et Imperat Office 365 Mergers, Acquis...
 
ECS19 - Christina Wheeler - Become Data Modeling Superhero
ECS19 - Christina Wheeler - Become Data Modeling SuperheroECS19 - Christina Wheeler - Become Data Modeling Superhero
ECS19 - Christina Wheeler - Become Data Modeling Superhero
 
ECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
ECS19 - Ahmad Najjar and Serge Luca - Power Platform TutorialECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
ECS19 - Ahmad Najjar and Serge Luca - Power Platform Tutorial
 
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClassECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
ECS19 - Vesa Juvonen - SharePoint and Office 365 Development PowerClass
 
ECS19 - Paolo Pialorsi - Building Portals with modern SharePoint experiences
ECS19 - Paolo Pialorsi - Building Portals with modern SharePoint experiencesECS19 - Paolo Pialorsi - Building Portals with modern SharePoint experiences
ECS19 - Paolo Pialorsi - Building Portals with modern SharePoint experiences
 
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
 
ECS19 - Nicki Borell - Microsoft Cybersecurity Reference Architecture
ECS19 - Nicki Borell - Microsoft Cybersecurity Reference ArchitectureECS19 - Nicki Borell - Microsoft Cybersecurity Reference Architecture
ECS19 - Nicki Borell - Microsoft Cybersecurity Reference Architecture
 
ECS19 - Mike Ammerlaan - Microsoft Graph Data Connect
ECS19 - Mike Ammerlaan - Microsoft Graph Data ConnectECS19 - Mike Ammerlaan - Microsoft Graph Data Connect
ECS19 - Mike Ammerlaan - Microsoft Graph Data Connect
 
ECS19 - Vesa Juvonen, Paolo Pialorsi - Building “modern” portals with SharePo...
ECS19 - Vesa Juvonen, Paolo Pialorsi - Building “modern” portals with SharePo...ECS19 - Vesa Juvonen, Paolo Pialorsi - Building “modern” portals with SharePo...
ECS19 - Vesa Juvonen, Paolo Pialorsi - Building “modern” portals with SharePo...
 
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - RoadmapECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
ECS19 - Vesa Juvonen - Getting Started With SharePoint Framework - Roadmap
 
ECS19 - Bill Ayers - UNLOCK YOUR BUSINESS KNOWLEDGE WITH THE MICROSOFT GRAPH,...
ECS19 - Bill Ayers - UNLOCK YOUR BUSINESS KNOWLEDGE WITH THE MICROSOFT GRAPH,...ECS19 - Bill Ayers - UNLOCK YOUR BUSINESS KNOWLEDGE WITH THE MICROSOFT GRAPH,...
ECS19 - Bill Ayers - UNLOCK YOUR BUSINESS KNOWLEDGE WITH THE MICROSOFT GRAPH,...
 
ECS19 - Toni Pohl - Develop intelligent apps for the Modern Workplace
ECS19 - Toni Pohl - Develop intelligent apps for the Modern WorkplaceECS19 - Toni Pohl - Develop intelligent apps for the Modern Workplace
ECS19 - Toni Pohl - Develop intelligent apps for the Modern Workplace
 
ECS19 - Tomislav Lulic - What is changed in product/service licensing with Cl...
ECS19 - Tomislav Lulic - What is changed in product/service licensing with Cl...ECS19 - Tomislav Lulic - What is changed in product/service licensing with Cl...
ECS19 - Tomislav Lulic - What is changed in product/service licensing with Cl...
 
ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
ECS19 - Thomas Vochten - ESSENTIAL DATABASE ADMINISTRATION SKILLS FOR SHAREPO...
 
ECS19 - Thomas Goelles, Stephan Bisser - Unite your workplace with Microsoft'...
ECS19 - Thomas Goelles, Stephan Bisser - Unite your workplace with Microsoft'...ECS19 - Thomas Goelles, Stephan Bisser - Unite your workplace with Microsoft'...
ECS19 - Thomas Goelles, Stephan Bisser - Unite your workplace with Microsoft'...
 
ECS19 - Steven Collier - Live Events in Teams, Yammer and Stream using Extern...
ECS19 - Steven Collier - Live Events in Teams, Yammer and Stream using Extern...ECS19 - Steven Collier - Live Events in Teams, Yammer and Stream using Extern...
ECS19 - Steven Collier - Live Events in Teams, Yammer and Stream using Extern...
 
ECS19 - Serge Luca - MICROSOFT FLOW IN REAL WORLD PROJECTS: 3 YEARS LATER AN...
ECS19 - Serge Luca -  MICROSOFT FLOW IN REAL WORLD PROJECTS: 3 YEARS LATER AN...ECS19 - Serge Luca -  MICROSOFT FLOW IN REAL WORLD PROJECTS: 3 YEARS LATER AN...
ECS19 - Serge Luca - MICROSOFT FLOW IN REAL WORLD PROJECTS: 3 YEARS LATER AN...
 

Recently uploaded

CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
shinachiaurasa2
 

Recently uploaded (20)

Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
%in kaalfontein+277-882-255-28 abortion pills for sale in kaalfontein
 
ManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide DeckManageIQ - Sprint 236 Review - Slide Deck
ManageIQ - Sprint 236 Review - Slide Deck
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
The title is not connected to what is inside
The title is not connected to what is insideThe title is not connected to what is inside
The title is not connected to what is inside
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 

[Noel] Azure AD Connect Technical Deep Dive

  • 1. Office 365; Azure AD Connect: Technical Deep Dive MICHAEL NOEL, CCO
  • 2.
  • 3. Michael Noel @MichaelTNoel Authored 20 books including the best selling SharePoint, Exchange, and Windows Unleashed series Presented at over 220 events in over 80 countries around the world Microsoft MVP, first awarded in 2007 Partner at Convergent Computing in the San Francisco Bay Area (cco.com)
  • 5. Why Azure AD Connect? Quite simply, the most effective and supported method of synching On-Premises Active Directory with Azure Active Directory (Office 365’s Directory.) Simplifies Single Sign On (SSO) to SAAS applications Released by Microsoft in 2015, AADC combines functionality provided by multiple tools previously ◦ DirSync ◦ Active Directory Federation Services (though services still required) ◦ AADSync Runs on a Domain/Workgroup Member Server, easy to configure
  • 6. Design and Planning – AADC Consoles For most organizations, single console session will suffice (snapshot backup config) For larger organizations or orgs with high SLAs, consider deploying secondary Azure AD Connect console, but run second console in staging mode. In the event of an outage, turn off staging mode on secondary server Recommended to run on domain-joined system inside the network, with restrictions placed on traffic to MS-defined IP ranges. Alternatively, if policy dictates, it can be installed on a Workgroup member in the DMZ, though note that there are a large number of ports required to be open to domain controllers inside the network.
  • 7. Supported Configurations Single Domain/Forest/Tenant (Express Mode Default) Multiple Forests / Single AADC / Single Tenant Multiple Forests / Multiple AADC / Multiple Tenants (Only one AADC per tenant!)
  • 8. Advanced Supported Configurations Multiple forests, separate topologies Multiple forests: full mesh with optional GALSync Each object only once in an Azure AD tenant
  • 9. Staging Server Configuring a dedicated server as a ‘Staging Server’ is the preferred failover and DR option for AADC A server in ‘Staging Mode’ won’t actually export any changes to Azure AD, but will keep information up to date Failover simply involves turning off staging mode and running a full sync
  • 11. Install – Prerequisites and Software Hardware ◦ 2GB RAM (4GB for 5000+ users) ◦ 1 CPU (2CPU for 5000+ users) Typically virtual server session Software ◦ Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, or Windows Server 2016 (preferred) ◦ Download link: http://is.gd/azureadconnect
  • 12. Install – SQL Options Most organizations install simple SQL Server Express instance for AADC (SQL 2008 R2+) Full SQL Server can be used if needing to utilize an existing farm AlwaysOn Availability Groups are now supported for AADC Database failover
  • 13. Express Settings vs. Custom Small organizations with a single domain/forest may choose Express Settings This does not allow for much advanced customization, such as OU filtering, custom service account, or many other things you may need Recommended to choose a custom install in most cases
  • 14. Install – Custom Service Account If you don’t choose a custom service account, MS will create one for you – This account will start with MSOL_ and will contain a long GUID name in it. In addition, MS will attempt to configure security settings for this account within the forest, adding root level permissions Most organizations will likely prefer to control the creation of this account and assign it permissions to only those OUs necessary. Subsequently, a custom service account that is pre-created is advised Rights Required: http://is.gd/aadcsvc
  • 15. Install – Choose SSO Option Password Hash Synchronization – copies the internal AD password hashes to the cloud, allowing for SSO using the same username/password combo Pass-through authentication – option where hash is NOT stored in cloud. Requires an on-prem agent Federation with AD FS – Utilizes MS AD FS for SSO, requires AD FS setup Federation with PingFederate – New option, direct integration with Ping Do not configure – Used if you are using other 3rd party such as Okta
  • 16. Azure AD Username Most organizations will use the User Principal Name (UPN) to create usernames in AADC (highly recommended) Options exist to choose other attributes for usernames, but only use for fringe scenarios
  • 17. OU Filtering Highly recommended to restrict AADC to only sync users within specific Ous This will keep Azure AD from being overpopulated with service accounts and other accounts which may never need to login to cloud services This option also allows you to move objects to non-synched OUs for testing, migration, or other options.
  • 18. Identifying Users Source Anchor is a critical concept in AD Consider changing the defaults only in specific fringe scenarios ObjectGUID is not longer the default, MS now defaults to using Ms-Ds- ConsistencyGUID as source anchor
  • 19. Group Filtering Option exists to filter out objects from sync based on membership in a group Not a recommended option except for with initial testing
  • 20. Optional Features MS provides for multiple additional options when configuring AADC These options can be added at a later time as needed (such as when enabling Exchange hybrid) Options include: ◦ Exchange hybrid deployment ◦ Exchange Mail Public Folders ◦ Azure AD app and attribute filtering ◦ Password writeback ◦ Group writeback ◦ Device writeback ◦ Directory extension attribute sync
  • 21. Recommendation: Wait to Sync Until All Changes Made and Validated At the end of the steps to the wizard, the default setting is to immediately start the synchronization process Recommended to wait to sync until all additional configuration has been done and you have tested in staging mode
  • 23. Advanced – Restrict by Attribute For attribute level synching restrictions, create an inbound sync rule from within the Synchronization Rules Editor Be sure that your syntax is accurate. In this example, it means that we are EXCLUDING all accounts that have their employeeID field set to NULL NOTE: These settings are overwritten during upgrades, ensure that you re-apply settings after you update AADC.
  • 24. Synchronize Custom Extensions You may want to add additional fields from Active Directory to Azure AD. For example, you may desire to have user mobile phone numbers synched from AD DS to Azure AD to allow them to be used as part of SharePoint Online profiles Select which attributes to sync in the ‘Directory Extensions’ portion of the Azure AD Connect wizard to sync
  • 25. Multi-Geo (Tenants with >5000 Users) – Preferred Data Location Allows tenants with greater than 5000 users to store mailboxes in a preferred MS Datacenter: ◦ Asia Pacific (APC) ◦ Australia (AUS) ◦ Canada (CAN) ◦ European Union (EUR) ◦ India (IND) ◦ Japan (JPN) ◦ Korea (KOR) ◦ United Kingdom (GBR) ◦ United States (NAM) Must configure sync rules to join custom internal attribute (i.e. extensionAttribute5 with preferredDataLocation attribute in AAD.) See https://is.gd/o365multigeo for details
  • 26. Self-Service Password Reset and Writeback Allow your users to reset their password directly in Office 365 and have the password synched back to AD DS AADC Service Account must be granted the following rights in AD DS: ◦ Reset password ◦ Change password ◦ Write permissions on lockoutTime ◦ Write permissions on pwdLastSet ◦ Extended rights on either: ◦ The root object of each domain in that forest ◦ The user organizational units (OUs) you want to be in scope for SSPR
  • 27. Accidental Delete Prevention and Overrides By default, AADC will not allow you to delete more than 500 objects during any one sync cycle. You may need to change this temporarily, though it is recommended to leave it on during normal operations. PowerShell commands: Disable-ADSyncExportDeletionThreshold (Turns off Accidental Delete prevention) Enable-ADSyncExportDeletionThreshold -DeletionThreshold 500 (Enables Accidental Delete prevention)
  • 28. GDPR Considerations: Azure AD Connect Azure AD Connect Server stores the following user privacy data: ◦ Data about a person in the Azure AD Connect database – This is removed automatically when deleting user from the database. Ensure you are synching at least every 48 hours. ◦ Data in the Windows Event log files that may contain information about a person – Flush event logs on the AADC Server on a scheduled basis ◦ Data in the Azure AD Connect installation log files that may contain about a person – Script a process to remove the Azure AD Connect installation logs every 48 hours NOTE: Do NOT delete the PersistedState.Xml file. It is used for upgrades and does not contain personal data Sample PowerShell script to delete installation log files: $Files = ((Get-childitem -Path "$env:programdataaadconnect" -Recurse).VersionInfo).FileName Foreach ($file in $files) { If ($File.ToUpper() -ne "$env:programdataaadconnectPERSISTEDSTATE.XML".toupper()) # Do not delete this file {Remove- Item -Path $File -Force} }
  • 29. Useful PowerShell Commands Start-ADSyncSyncCycle -PolicyType Delta – Start a manual sync immediately Start-ADSyncSyncCycle -PolicyType Initial – Perform a full sync…only needed if changing filtering options, made changes to rule, or added attributes to sync) Stop-ADSyncSyncCycle – Stop a running AD Sync in order to make changes to config Get-ADSyncScheduler – View current configuration Set-ADSyncScheduler -SyncCycleEnabled $false – Turn off sync (set to true to turn back on) Set-ADSyncScheduler -CustomizedSyncCycleInterval 02:00:00 – Change Sync Schedule to synchronize every two hours Add-ADSyncAADServiceAccount – Used to reset the AADC service account’s password
  • 30. mS-DS-ConsistencyGuid – A Warning Azure AD Connect defaults to using MS-DS- ConsistencyGuid as the Source Anchor object This needs to be unique across ALL of Microsoft Office 365 tenancies This means that if you are performing migrations or synching accounts from one forest to another, be sure to EXCLUDE that attribute from the sync, or your migrated users will NOT be able to access their accounts!
  • 32. Azure AD Connect Health Azure AD Premium Feature (Requires additional licensing) Monitor the following: ◦ Azure AD Connect ◦ Azure AD DS Domain Controllers ◦ AD FS Servers NOTE: Not available in the Microsoft Germany cloud
  • 33. Install Azure AD Connect Health Agents on AD DS Domain Controllers Install AD DS Health Agents on all domain controllers to monitor them from the Azure AD Health Service Pay special attention to the prerequisites, particularly which websites need to be allowed Agents for AD FS servers can also be downloaded
  • 34. Thank you! Questions? Michael Noel CCO.com @MichaelTNoel Facebook.com/MichaelNoel Linkedin.com/in/MichaelTnoel SharingTheGlobe.com Slideshare.net/MichaelTnoel