Today we had a good question from a frustrated client. One of their users had their laptop stolen so the administrator logged into Microsoft 365 / Azure and disabled their account. About an hour or later the user came into the office picked up a loner laptop and was able to sign into it using the credentials that the administrator had disabled a short while earlier.

The administrator wanted to know how someone could sign in when an account was deactivated and the answer is pretty straightforward:

how did an account deactivated in Azure become Activated by Azure AD Sync

This company, like most companies these days, is using Azure AD Sync which Synchronizes they are on-premise Active Directory to the Microsoft 365 / Azure Cloud. Again just like most companies, they were using a one-way sync from their on-prem Active Directory to the Microsoft cloud. By default that Azure AD Sync occurs every 30 minutes which means if you make a change to an account that is in your on-prem AD, it will be undone in less than 30 minutes.

If you want to see if this was your situation use the new Microsoft Entra (formerly Microsoft Identity Services) cloud console:

  1. Surf to https://entra.microsoft.com
  2. Click SHOW ALL in the menu on the left
  3. Click MONITORING & HEALTH
  4. Click AUDIT LOGS
  5. Look for who initiated your DISABLE ACCOUNT activity
  6. Look to see if SYNC-XXXXX initiated the ENABLE ACCOUNT activitity


0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *