Projet

O365Synchronizer

O365Synchronizer is a PowerShell module that allows you to synchronize users/contacts to user mailboxes contact list. It can also be used to synchronize users between tenants as contacts or guests.

Étoiles45
Forks12
Tickets ouverts2
Téléchargements PowerShell Gallery2836
Versionv1.0.3
Langage: PowerShell Mise à jour: 2026-03-27

Installation

PowerShell Gallery

Install-Module O365Synchronizer -Scope CurrentUser

Recuperation du code

git clone https://github.com/EvotecIT/O365Synchronizer.git

Téléchargements

Journal des modifications

v1.0.0

What's new

  • Added Sync-O365PersonalContactFilter to allow filtering of users to synchronize by properties
  • Added Sync-O365PersonalContactFilterGroup to allow filtering of users to synchronize by group membership (ID only)
  • Allow synchronizing of contacts to personal contacts in Outlook to specific Folder (only 1 level deep)
# synchronize contacts for 1 user of two types (Member, Contact) using GUID prefix and filtering by company name
          # this will only synchronize contacts that have CompanyName starting with 'Evotec' or 'Ziomek'
          # this will also require contacts to be in a group by 'e7772951-4b0e-4f10-8f38-eae9b8f55962'
          # this will also create a folder 'O365Sync' in user's personal contacts and put synchronized contacts there
          # this will also return the results in a table
          Sync-O365PersonalContact -UserId 'test@evotec.pl' -MemberTypes 'Contact', 'Member' -GuidPrefix 'O365Synchronizer' -PassThru {
              Sync-O365PersonalContactFilter -Type Include -Property 'CompanyName' -Value 'Evotec*','Ziomek*' -Operator 'like'
              Sync-O365PersonalContactFilterGroup -Type Include -GroupID 'e7772951-4b0e-4f10-8f38-eae9b8f55962'
          } -FolderName 'O365Sync' | Format-Table
          
  • Improved Clear-O365PersonalContact to allow clearing of contacts in specific Folder, including deleting the folder itself
# this will only delete synchronized ones (based on FileAs property that has to convert to GUID, with GUID prefix) from specific folder
          Clear-O365PersonalContact -Identity 'testAccount@evotec.pl' -GuidPrefix 'O365Synchronizer' -FolderName 'O365' -WhatIf
          
          # this will only delete synchronized ones (based on FileAs property that has to convert to GUID, with GUID prefix) from specific folder, including the folder
          Clear-O365PersonalContact -Identity 'testAccount@evotec.pl' -GuidPrefix 'O365Synchronizer' -FolderName 'O365Sync' -FolderRemove -WhatIf
          

Full Changelog: Compare v0.0.4 to v1.0.0

v0.0.1

What's new

  • Intial release
  • Provides synchronization of users to personal contacts in Outlook Sync-O365PersonalContact
  • Provides a way to clear all personal contacts in Outlook Clear-O365PersonalContact

Full Changelog: github.com

Parcours de conseil

Besoin d’aide pour mettre cela en production ?

Entra Connect et résolution des problèmes d’identité hybride

  • Diagnostic structuré pour Entra Connect et les échecs de synchronisation hybride.
  • Reporting opérationnel pour valider l’état actuel de la synchronisation.
  • Remédiation plus sûre et schémas de passation pour le support de l’identité hybride.

Nous intervenons sur la mise en œuvre, la remédiation, la conception d’automatisations et la livraison autour des plateformes liées à ce projet.