365tips.be

Blogs about: Microsoft Teams, backgrounds, Intune, OneDrive, Exchange, Azure AD, Windows 10, Security, Tenant, Exchange, best-practice, tips & tricks

How can you perform a manual Azure Active Directory synchronisation?

What is Azure Active Directory Sync (AAD SYNC)?

Azure Active Directory Connect allows users to sign in to both Cloud and on-premises resources using the same passwords. Azure AD Connect takes care of synchronising the users from the local domain to the Azure AD Domain.

How to install Azure AD Connect on a Domain Controller?

Azure AD Connect installation can be done in 4 steps. Read all about it in this article.

When does Azure AD Sync run?

Each sync runs every 30 minutes. By default.

https://docs.microsoft.com/en-us/azure/active-directory/hybrid/how-to-connect-sync-feature-scheduler

1

How to start a manual Azure AD Synchronisation via PowerShell

Sometimes it is necessary to perform a manual Azure AD Synchronisation via PowerShell in order not to have to wait for the automatic synchronisation every 30 minutes.

You can do 2 types of synchronisations: a delta sync (which synchronises all small changes) or a full sync (which rebuilds and resynchronises everything - this can take several hours).

Delta Sync, Run PowerShell command:

Start-ADSyncSyncCycle -PolicyType Delta

Initial Sync(FULL Sync), Run PowerShell command:

Start-ADSyncSyncCycle -PolicyType Initial
1

Troubleshooting Synchronisation via the Synchronisation Service Manager

Open the Synchronization service manager and investigate the error codes. Most error codes can be found via Google.

1

Click on Metaverse Search

1

Find the user via

Add Clause

Attribute: UserPrincipalName (or any other factor)

Operator: Start With (or another factor)

Value: Test... (or your own account)

1

Metaverse Object Properties

Click on TestAccount (see previous screenshot)

1

Validate the connectors (for example)

You can see here that an inbound & inboud sync has happened from the local domain to the Office 365 (M365tips.onmicrosoft.com) domain. (AAD)

1

How does Azure AD work?

The metaverse is a storage area that contains the aggregated identity information (and object) of multiple connected data sources. From Active Directory to AAD. If you want to understand exactly how this works, click the link below the picture.

Arch5
https://docs.microsoft.com/en-us/azure/active-directory/hybrid/concept-azure-ad-connect-sync-architecture

Azure Active Directory (Azure AD) is a comprehensive identity as a service (IDaaS) solution used by millions of organisations, covering all aspects of identity, access management and security. Azure AD has more than one billion user identities and helps users sign in and access them securely:

  • External sources, such as Microsoft Office 365, the Azure portal and thousands of other Software-as-a-Service (SaaS) applications.
  • Internal resources, such as applications on an organisation's corporate network and intranet, along with any cloud applications developed by that organisation.

Organisations can use Azure AD if they have a 'full cloud presence', or as a 'hybrid' deployment if they have an on-premises workload. A hybrid deployment of Azure AD can be part of a strategy for an organisation to migrate its IT resources to the cloud, or to continue integrating existing on-premises infrastructure alongside new cloud services.

Historically, 'hybrid' organisations have viewed Azure AD as an extension of their existing on-premises infrastructure. In these implementations, the on-premises identity governance administration, Windows Server Active Directory or other internal directory systems, are the control points, and users and groups are synchronised from these systems to a cloud directory such as Azure AD. Once these identities are in the cloud, they can be made available to Office 365, Azure and other applications.

Also read

These are the 10 success factors when setting up Microsoft Teams
Tutorial: How to prevent new Microsoft Teams from being created?
How to import users and guests in CSV in Office 365 or Azure AD?
How to install Azure AD preview module with PowerShell?

About the author

Tagged: , , , , , , ,
0 0 votes
Product review
Subscribe
Please let us know if there are
guest

0 Reactions
Inline feedbacks
See all comments
0
Would love to know your thoughts, please leave a comment.x