SlideShare a Scribd company logo
Office 365;
Azure AD Connect:
Technical Deep Dive
MICHAEL NOEL, CCO
[Noel] Azure AD Connect Technical Deep Dive
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

PPTX
Azure active directory
PPTX
Azure Active Directory - An Introduction
PDF
Understanding Azure AD
PPTX
Azure AD connect- Deep Dive Webinar PPT
PDF
Azure Active Directory
PPTX
48. Azure Active Directory - Part 1
PPTX
Azure AD Connect
PPTX
Azure AD Presentation - @ BITPro - Ajay
Azure active directory
Azure Active Directory - An Introduction
Understanding Azure AD
Azure AD connect- Deep Dive Webinar PPT
Azure Active Directory
48. Azure Active Directory - Part 1
Azure AD Connect
Azure AD Presentation - @ BITPro - Ajay

What's hot (20)

PPTX
Microsoft Azure - Introduction
PDF
Microsoft Azure Active Directory
PPTX
Govern your Azure environment through Azure Policy
PPTX
Windows Azure Active Directory
PDF
Azure DDoS Protection Standard
PPTX
Part 01: Azure Virtual Networks – An Overview
PPTX
Azure Identity and access management
PDF
TechnicalTerraformLandingZones121120229238.pdf
PDF
[Azure Governance] Lesson 4 : Azure Policy
PPTX
IntuneとWSUSを使ってWindows Updateをやってみる。
PDF
Single sign on (SSO) How does your company apply?
PDF
Application Security - Key Vault
PDF
Azure Active Directory | Microsoft Azure Tutorial for Beginners | Azure 70-53...
PPTX
Azure storage
PDF
AWS IoTにおけるデバイスへの認証情報のプロビジョニング
PPTX
00 - Microsoft 365 Digital Workforce Workshop - Delivery Guide.pptx
PPTX
Azure key vault
PDF
[Azure Governance] Lesson 2 : Azure Locks
PPTX
Introduction to Azure AD and Azure AD B2C
PDF
Amazon Aurora Deep Dive (김기완) - AWS DB Day
Microsoft Azure - Introduction
Microsoft Azure Active Directory
Govern your Azure environment through Azure Policy
Windows Azure Active Directory
Azure DDoS Protection Standard
Part 01: Azure Virtual Networks – An Overview
Azure Identity and access management
TechnicalTerraformLandingZones121120229238.pdf
[Azure Governance] Lesson 4 : Azure Policy
IntuneとWSUSを使ってWindows Updateをやってみる。
Single sign on (SSO) How does your company apply?
Application Security - Key Vault
Azure Active Directory | Microsoft Azure Tutorial for Beginners | Azure 70-53...
Azure storage
AWS IoTにおけるデバイスへの認証情報のプロビジョニング
00 - Microsoft 365 Digital Workforce Workshop - Delivery Guide.pptx
Azure key vault
[Azure Governance] Lesson 2 : Azure Locks
Introduction to Azure AD and Azure AD B2C
Amazon Aurora Deep Dive (김기완) - AWS DB Day
Ad

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

PDF
Get your Hybrid Identity in 4 steps with Azure AD Connect
PPTX
CoLabora - Identity in a World of Cloud - June 2015
PPTX
Taking SharePoint to the Cloud
PPTX
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
PDF
SharePoint 2013 Platform Options - office 365, Azure, On premise
PDF
O365Con18 - Azure AD Connect Inside and Out - Sander Berkouwer
PDF
Office 365 Identity Management - SMBNation 2015
PPTX
Planning and deploying_share_point_farm_in_azure_gabsg_2016
PPTX
826182700-AZ-500T00A-ENU-Powerpoint-01.pptx
PPTX
Microsoft Azure ad in 10 slides
PPTX
Azure Day 1.pptx
PPTX
Make IT Pro's great again: Microsoft Azure for the SharePoint professional
PPTX
Análisis de riesgos en Azure y protección de la información
PPTX
Microsoft-Azure-Overvi2222222222222ew.pptx
PPTX
Azure from scratch part 3 By Girish Kalamati
PPTX
Cloud Computing
PPTX
BizSpark Startup Night Windows Azure March 29, 2011
PPTX
Azure-AD.pptx
PPTX
Microsoft Azure AD architecture and features
PDF
AZ-104 Exam Dumps Free Download – Refreshed for
Get your Hybrid Identity in 4 steps with Azure AD Connect
CoLabora - Identity in a World of Cloud - June 2015
Taking SharePoint to the Cloud
Microsoft SQL Azure - Building Applications Using SQL Azure Presentation
SharePoint 2013 Platform Options - office 365, Azure, On premise
O365Con18 - Azure AD Connect Inside and Out - Sander Berkouwer
Office 365 Identity Management - SMBNation 2015
Planning and deploying_share_point_farm_in_azure_gabsg_2016
826182700-AZ-500T00A-ENU-Powerpoint-01.pptx
Microsoft Azure ad in 10 slides
Azure Day 1.pptx
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
Microsoft-Azure-Overvi2222222222222ew.pptx
Azure from scratch part 3 By Girish Kalamati
Cloud Computing
BizSpark Startup Night Windows Azure March 29, 2011
Azure-AD.pptx
Microsoft Azure AD architecture and features
AZ-104 Exam Dumps Free Download – Refreshed for
Ad

More from European Collaboration Summit (20)

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

Recently uploaded (20)

PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
L1 - Introduction to python Backend.pptx
PDF
How Creative Agencies Leverage Project Management Software.pdf
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Understanding Forklifts - TECH EHS Solution
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PPTX
Transform Your Business with a Software ERP System
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PPTX
ai tools demonstartion for schools and inter college
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
AI in Product Development-omnex systems
PPTX
Introduction to Artificial Intelligence
PDF
System and Network Administraation Chapter 3
PDF
Digital Strategies for Manufacturing Companies
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
L1 - Introduction to python Backend.pptx
How Creative Agencies Leverage Project Management Software.pdf
ISO 45001 Occupational Health and Safety Management System
ManageIQ - Sprint 268 Review - Slide Deck
Understanding Forklifts - TECH EHS Solution
Softaken Excel to vCard Converter Software.pdf
PTS Company Brochure 2025 (1).pdf.......
Transform Your Business with a Software ERP System
Operating system designcfffgfgggggggvggggggggg
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Adobe Illustrator 28.6 Crack My Vision of Vector Design
ai tools demonstartion for schools and inter college
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
AI in Product Development-omnex systems
Introduction to Artificial Intelligence
System and Network Administraation Chapter 3
Digital Strategies for Manufacturing Companies
Navsoft: AI-Powered Business Solutions & Custom Software Development
Wondershare Filmora 15 Crack With Activation Key [2025

[Noel] Azure AD Connect Technical Deep Dive

  • 1. Office 365; Azure AD Connect: Technical Deep Dive MICHAEL NOEL, CCO
  • 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