Video Tutorial How to Sync On Prem AD Users with Azure AD 1

Video Tutorial How to Sync On Prem AD Users with Azure AD

Using Azure AD connect you can sync on prem user identities/attributes and passwords to Azure AD. Azure AD connect installation and configuration is very straight forward if we use (express settings ūüôā ). I’ve a video tutorial here which helps you to understand the AAD connect configuration, How to enable MFA for Azure AD join Windows 10 device and Twitter app integration with Azure AD. In this post, I’m going to cover two other topics related to Azure AD (AAD)¬†Sync.

  1. Where is the Scheduled Task used to get created for Azure AD?
  2. How to Create a service connection point in on-premises Active Directory?
  3. Video Tutorial – How to Sync On Prem AD User accounts With Azure AD
Windows 10 MDM devices can write back to on prem AD more details available here. AAD Connect is mandatory for the write back feature of Windows 10 devices.
Earlier versions of Azure AD connect¬†used¬†¬†Windows task scheduler to schedule the Azure AD sync of on-prem objects and attributes.¬†Latest version of Azure AD connect has sync engine in-built. Hence we won’t find a schedule task for AAD Connect.¬†The new default synchronization frequency is 30 minutes. We can change the AD Sync Schedule using¬†PowerShell command “Get-ADSyncScheduler”¬†and other parameters documented here. Window
Windows10_DomainJoined_Machines_AureAD_Sync_1
PS C:\Users\anoop\Desktop> Get-ADSyncScheduler
AllowedSyncCycleInterval            : 00:30:00
CurrentlyEffectiveSyncCycleInterval : 00:30:00
CustomizedSyncCycleInterval         :
NextSyncCyclePolicyType             : Delta
NextSyncCycleStartTimeInUTC         : 26-05-2016 02:06:23
PurgeRunHistoryInterval             : 7.00:00:00
SyncCycleEnabled                    : True
MaintenanceEnabled                  : True
StagingModeEnabled                  : False

I was getting trouble to Create a service connection point in on-premises Active Directory. This service connection point is used for “Connect domain-joined devices to Azure AD for Windows 10 experiences“.¬†I followed the documentation here to configure¬†service connection point¬†in on-prem AD but was¬†getting stuck¬†with PowerShell Commands.¬†I ran the PowerShell commands as per the¬†above documentation however with no luck.

After that, I installed the appropriate version of the Windows Azure Active Directory Module for Windows PowerShell and then . Then tried to run the following PowerShell commands and that worked like a champ !

Windows10_DomainJoined_Machines_AureAD_Sync_2

PS C:\Users\anoop\Desktop> Connect-MsolService

PS C:\Users\anoop\Desktop> Import-Module -Name "C:\Program Files\Microsoft Azure Active Directory Connect\AdPrep\AdSyncPrep.psm1"

PS C:\Users\anoop\Desktop> Initialize-ADSyncDomainJoinedComputerSync

cmdlet Initialize-ADSyncDomainJoinedComputerSync at command pipeline position 1
Supply values for the following parameters:
AdConnectorAccount: nair\Anoop
AzureADCredentials
Initializing your Active Directory forest to sync Windows 10 domain joined computers to Azure AD.
Configuration Complete

How to Sync On Prem AD User accounts With Azure AD

Learn How to Setup Dynamic Device Groups in Intune 2

Learn How to Setup Dynamic Device Groups in Intune

Do you want to add mobile devices automatically to Microsoft Intune Device Groups? Intune Dynamic groups are always a customer request since long back. This feature is similar to dynamic collections in SCCM/ConfigMgr. There are two way to do it. One is using the Azure AD Premium feature called AAD Dynamic Groups and other one is pretty new in Intune something called Device Group Mapping.

How to add devices/users automatically to Intune Groups using Azure AD Dynamic Groups ?

  1. Login to Azure AD portal (AAD Premium subscription should be there).
  2. Navigate via – Directory –> Groups –> Open the group (MDM Group) –> Configure. Enable Dynamic Group (Only available for AAD Premium subscriptions)¬†Membership –> Add Users where <Department> is equal to “IT”.¬† In this scenario all the users from IT department will get added to AAD Dynamic Security Group called MDM Groups. Don’t be panic if the group is not reflecting with users immediately, give it some time. It will get updated.¬†Intune_Device_Group_Mapping_4
  3. Once  AAD Dynamic Group is created and updated login to Intune portal (manage.microsoft.com)  and Create a New User Group to fetch all the devices of IT department users. Intune_Device_Group_Mapping_5
  4. Whenever new user joins to IT department that user will automatically get added to Intune MDM group as well. Provisioning and de provisioning of groups made easy with this.

How to Add Devices automatically to Intune Device Groups using Device Group Mapping ?

  1. Click on Admin tab in Intune console. Navigate  via Device Group Mapping Рenable Device Group Mapping РCreate a Device Group and ADD a CATEGORY to manage device group mapping rules. Once you click on Create Device Group then it will guide you to create one device group.Intune Device Grouping
  2. When ever user enroll (During Enrollment Process)¬†to Intune using Microsoft Intune Company portal application, User will get an extra/additional screen to select “Choose the best category for this device“. Right now, I have only created one category “ADMIN”¬†for users to select. You are free to create Intune device category for each department !!¬†¬†¬†¬† Intune_Device_Group_Mapping