Note: all names, commands output and screens in this article are examples from a demo lab. Nothing here is a real tenant or real data. Test every step in your own lab first.

A new hire starts Monday. Behind that one name, five systems have to agree: Active Directory, Entra Connect, a license, Conditional Access, and a managed laptop. In a hybrid setup, each step is simple. The pain is in the order and in the small things nobody writes down.

Here is the path I follow, and the spots where it usually breaks.

1. Create the account in on-premises AD

New-ADUser -Name "Mona Samir" -SamAccountName mona.samir ` -UserPrincipalName mona.samir@demo-lab.example ` -Path "OU=Sales,OU=Users,DC=demo-lab,DC=local" ` -AccountPassword (Read-Host -AsSecureString "Initial password") ` -ChangePasswordAtLogon $true -Enabled $true 

Three things matter here:

  • The OU. Entra Connect only syncs the OUs you selected. A user in the wrong OU never shows up in the cloud.
  • The password. Type it in a prompt, so it never sits in a script file.
  • The UPN suffix. Use a domain that is verified in Entra. A .local suffix cannot be verified, so the cloud sign-in name will look wrong.

Check the attributes before you sync, and fix them now. Changing them after sync is where confusing duplicates and sign-in problems start.

Get-ADUser mona.samir -Properties UserPrincipalName, Department | Select-Object Name, UserPrincipalName, Department 

2. Sync, and do not wait for the timer

Entra Connect runs a delta sync about every 30 minutes by default. On the Entra Connect server you can start one yourself:

Start-ADSyncSyncCycle -PolicyType Delta 

Then check Entra ID. The user should show with the source "Windows Server AD". You cannot edit synced attributes in the cloud. The source of truth stays on premises.

3. When the user does not show up

Start with the usual suspects, in this order:

  1. The OU is inside the sync scope.
  2. No duplicate user principal name.
  3. No duplicate proxy address.
  4. The sync cycle result.

For export errors, open the Synchronization Service Manager on the Entra Connect server. The error names the attribute and the object. Write both down, find who holds the value (for a proxy address, search AD on the proxyAddresses attribute), decide which account really owns it, fix the source in AD, then sync again. Never fix it by editing the cloud copy.

4. License

A user cannot get a license until a usage location is set. Set it first, then assign the license. In a real company, group-based licensing is cleaner because the license follows a group instead of a person. It needs the right Entra plan, so check your own tenant before you rely on it. Mailbox and Teams can take a while to appear after the license lands.

5. Conditional Access

A common starting point is "require MFA for all users". Two rules I never skip:

  • Exclude your emergency access accounts.
  • Start in Report-only. It evaluates every sign-in and blocks nobody. Read the sign-in logs for a few days, then switch it to On.

This is a simple example, not a full security baseline.

6. The laptop: hybrid join and Intune

For hybrid Entra join, two things must be in place: the join configuration in Entra Connect, and a network path (on site or VPN) to a domain controller. On the laptop:

dsregcmd /status 

You want DomainJoined : YES and AzureAdJoined : YES. If one says NO, the output tells you why. The usual fixes are the service connection point or the network path.

Intune enrollment is a separate step. Automatic enrollment can be turned on with group policy or with the MDM user scope in Entra. Check which one your environment uses, then confirm the laptop shows in Intune and is compliant.

7. Offboarding is the same path in reverse

Disable the account in AD (do not delete it), sync, revoke sign-in sessions, remove the license, then retire or wipe the device in Intune. Check your company policy on mailbox and file retention before you remove anything. Keep a record of the date and who did it.

The Day 1 checklist

  • Right OU, then sync
  • Usage location, then license
  • Report-only, then enforce
  • Hybrid joined, then Intune

I made a video that walks through this whole path with demo-lab mockups and an AI-generated voiceover: https://youtu.be/Xy_sPJxNiI0 Every screen is labeled as a mockup, and the output is simulated.

If you want the PowerShell script that automates the AD, Entra ID and Microsoft 365 parts of onboarding, it is here: https://fadyverse10.gumroad.com/l/Automation

Questions or a step that differs in your environment? Tell me in the comments.

Written by Hybrid SysAdmin. The video uses an AI-generated voiceover. The commands and screens here are demo-lab examples, not a recording of a real environment.