# 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.

Projet

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.

[Voir sur GitHub](https://github.com/EvotecIT/O365Synchronizer) [Visiter le site](#) [Versions](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.3) [Journal des modifications](#) [Obtenir le package](https://www.powershellgallery.com/packages/O365Synchronizer)

Étoiles**48**

Forks**12**

Tickets ouverts**4**

Téléchargements PowerShell Gallery**3100**

Version**v1.0.7**

Langage: PowerShell Mise à jour: 2026-11-03

## Installation

Installez le package publié ou clonez le code source.

### PowerShell Gallery

```
Install-Module O365Synchronizer -Scope CurrentUser
```

### Récupération du code

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

## Téléchargements

Flux de packages et canaux de publication pour ce projet.

[PowerShell Gallery **O365Synchronizer** Version 1.0.7 | Total des téléchargements 3,100](https://www.powershellgallery.com/packages/O365Synchronizer) [Versions **v1.0.7** Publié 2026-10-06 | Total des téléchargements 3,100](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.3)

## Journal des modifications

Notes de version publiées avec chaque version GitHub.

### [v1.0.7](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.7)

2026-10-06Latest Stable

## What's Changed

- Support Azure Automation output logging safely by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#55](https://github.com/EvotecIT/O365Synchronizer/pull/55)

**Full Changelog**: [Compare v1.0.6 to v1.0.7](https://github.com/EvotecIT/O365Synchronizer/compare/v1.0.6...v1.0.7)

- [O365Synchronizer.v1.0.7.SHA256SUMS.txt](https://github.com/EvotecIT/O365Synchronizer/releases/download/v1.0.7/O365Synchronizer.v1.0.7.SHA256SUMS.txt)95 B
- [O365Synchronizer.v1.0.7.zip](https://github.com/EvotecIT/O365Synchronizer/releases/download/v1.0.7/O365Synchronizer.v1.0.7.zip)57.6 KB

### [v1.0.6](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.6)

2026-10-05

**Full Changelog**: [Compare v1.0.5 to v1.0.6](https://github.com/EvotecIT/O365Synchronizer/compare/v1.0.5...v1.0.6)

- [O365Synchronizer.v1.0.6.SHA256SUMS.txt](https://github.com/EvotecIT/O365Synchronizer/releases/download/v1.0.6/O365Synchronizer.v1.0.6.SHA256SUMS.txt)95 B
- [O365Synchronizer.v1.0.6.zip](https://github.com/EvotecIT/O365Synchronizer/releases/download/v1.0.6/O365Synchronizer.v1.0.6.zip)50 KB

### [v1.0.5](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.5)

2026-10-05

Adds optional diagnostic streams for synchronization and safer log retention.

- Use `-LogStream Verbose -Verbose` or `-LogStream Information -InformationAction Continue` with `Sync-O365PersonalContact`, `Sync-O365Contact`, and `Clear-O365PersonalContact`. Host output remains the default, and diagnostic messages do not enter returned synchronization data.
- Requires PSWriteColor 1.0.5 or later.
- Log retention now requires an explicit `-LogFilePattern` matching the active log filename. When `LogMaximum` is positive without a pattern, pruning is skipped with a warning. The active log, unrelated files, directories, and links are protected; `-WhatIf` previews removal.

Azure Automation runbooks using the Verbose stream must enable verbose job logging. Live Azure job capture has not been verified.

- [O365Synchronizer.v1.0.5.SHA256SUMS.txt](https://github.com/EvotecIT/O365Synchronizer/releases/download/v1.0.5/O365Synchronizer.v1.0.5.SHA256SUMS.txt)95 B
- [O365Synchronizer.v1.0.5.zip](https://github.com/EvotecIT/O365Synchronizer/releases/download/v1.0.5/O365Synchronizer.v1.0.5.zip)50.1 KB

### [v1.0.4](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.4)

2026-09-02

## What's Changed

- Refactor group membership checks for users and contacts by [@TheLuBu](https://github.com/TheLuBu) in [#29](https://github.com/EvotecIT/O365Synchronizer/pull/29)
- Add Claude Code GitHub Workflow by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#30](https://github.com/EvotecIT/O365Synchronizer/pull/30)
- Fix contact sync edge cases by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#31](https://github.com/EvotecIT/O365Synchronizer/pull/31)
- Harden contact payload construction by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#32](https://github.com/EvotecIT/O365Synchronizer/pull/32)
- Sync external mail users by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#33](https://github.com/EvotecIT/O365Synchronizer/pull/33)
- Add OData prefilter support for user sync by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#34](https://github.com/EvotecIT/O365Synchronizer/pull/34)
- Document private helper functions by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#35](https://github.com/EvotecIT/O365Synchronizer/pull/35)
- Sync department and manager fields by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#36](https://github.com/EvotecIT/O365Synchronizer/pull/36)
- Add category support for personal contact sync by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#37](https://github.com/EvotecIT/O365Synchronizer/pull/37)
- Handle contact folder removal when not empty by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#38](https://github.com/EvotecIT/O365Synchronizer/pull/38)
- Fix: Prevent string concat when adding Categories by [@kevinmcgillicuddy](https://github.com/kevinmcgillicuddy) in [#39](https://github.com/EvotecIT/O365Synchronizer/pull/39)
- Fix: Escape folder name OData filters + stabilize Compare-UserToContact output by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#40](https://github.com/EvotecIT/O365Synchronizer/pull/40)
- Fix PowerShell Gallery preview badge by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#41](https://github.com/EvotecIT/O365Synchronizer/pull/41)
- Generate unique org contact names for homonyms by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#44](https://github.com/EvotecIT/O365Synchronizer/pull/44)
- Add opt-in hidden address list filtering for personal sync by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#43](https://github.com/EvotecIT/O365Synchronizer/pull/43)
- Modernize PowerForge options and Pester assertions by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#47](https://github.com/EvotecIT/O365Synchronizer/pull/47)
- Configure grouped low-noise Dependabot updates by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#46](https://github.com/EvotecIT/O365Synchronizer/pull/46)
- Bump the all-dependencies group with 3 updates by [@dependabot](https://github.com/dependabot)[bot] in [#48](https://github.com/EvotecIT/O365Synchronizer/pull/48)
- Fix personal contact nickname source by [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) in [#50](https://github.com/EvotecIT/O365Synchronizer/pull/50)

## New Contributors

- [@TheLuBu](https://github.com/TheLuBu) made their first contribution in [#29](https://github.com/EvotecIT/O365Synchronizer/pull/29)
- [@PrzemyslawKlys](https://github.com/PrzemyslawKlys) made their first contribution in [#30](https://github.com/EvotecIT/O365Synchronizer/pull/30)
- [@kevinmcgillicuddy](https://github.com/kevinmcgillicuddy) made their first contribution in [#39](https://github.com/EvotecIT/O365Synchronizer/pull/39)
- [@dependabot](https://github.com/dependabot)[bot] made their first contribution in [#48](https://github.com/EvotecIT/O365Synchronizer/pull/48)

**Full Changelog**: [Compare v1.0.3 to v1.0.4](https://github.com/EvotecIT/O365Synchronizer/compare/v1.0.3...v1.0.4)

- [O365Synchronizer.v1.0.4.SHA256SUMS.txt](https://github.com/EvotecIT/O365Synchronizer/releases/download/v1.0.4/O365Synchronizer.v1.0.4.SHA256SUMS.txt)95 B
- [O365Synchronizer.v1.0.4.zip](https://github.com/EvotecIT/O365Synchronizer/releases/download/v1.0.4/O365Synchronizer.v1.0.4.zip)46.5 KB

### [v1.0.3](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.3)

2024-10-15

## What's new

- Fixes problem with synchronizing proper contacts when using folders

**Full Changelog**: [Compare v1.0.2 to v1.0.3](https://github.com/EvotecIT/O365Synchronizer/compare/v1.0.2...v1.0.3)

- [O365Synchronizer.v1.0.3.zip](https://github.com/EvotecIT/O365Synchronizer/releases/download/v1.0.3/O365Synchronizer.v1.0.3.zip)35.8 KB

### [v1.0.2](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.2)

2024-09-28

## What's new

- Fixes bug when not using folder for synchronization it would prompt for contact folder id

**Full Changelog**: [Compare v1.0.1 to v1.0.2](https://github.com/EvotecIT/O365Synchronizer/compare/v1.0.1...v1.0.2)

- [O365Synchronizer.v1.0.2.zip](https://github.com/EvotecIT/O365Synchronizer/releases/download/v1.0.2/O365Synchronizer.v1.0.2.zip)35.7 KB

### [v1.0.1](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.1)

2024-09-27

## What's new

- Fixes too small amount of contacts gathered when using folders

**Full Changelog**: [Compare v1.0.0 to v1.0.1](https://github.com/EvotecIT/O365Synchronizer/compare/v1.0.0...v1.0.1)

- [O365Synchronizer.v1.0.1.zip](https://github.com/EvotecIT/O365Synchronizer/releases/download/v1.0.1/O365Synchronizer.v1.0.1.zip)35.7 KB

### [v1.0.0](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.0)

2024-09-18

## 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)

```powershell
# 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

```powershell
# 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](https://github.com/EvotecIT/O365Synchronizer/compare/v0.0.4...v1.0.0)

- [O365Synchronizer.v1.0.0.zip](https://github.com/EvotecIT/O365Synchronizer/releases/download/v1.0.0/O365Synchronizer.v1.0.0.zip)35.7 KB

## Articles de blog associés

Articles qui mentionnent ce projet, son package ou des mots-clés proches.

[Parcourir le blog](/fr/blog/)

Recherche dans l’index du blog...

Parcours de conseil

## Besoin d’aide pour mettre cela en production ?

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

Nous aidons les équipes à diagnostiquer les échecs de synchronisation, les problèmes de connecteurs, les écarts de permissions et les angles morts de reporting entre l’AD local et Microsoft 365.

- 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.

[Explorer le service associé](/fr/services/entra-connect-hybrid-identity-troubleshooting/) [Voir une mission représentative](/fr/services/case-studies/hybrid-identity-and-entra-connect-stabilization/) [Tous les services](/fr/services/)

## Ressources

[Docs](/projects/o365synchronizer/docs/) [Exemples](/projects/o365synchronizer/examples/) [PowerShell Gallery](https://www.powershellgallery.com/packages/O365Synchronizer) [Source](https://github.com/EvotecIT/O365Synchronizer) [Versions](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.3)

<!-- PowerForge markdown artifact sha256:4AB090445BD51293A70133B5C6BD45209EEA88F568F33CE1B9630D6FDBA298E9 -->
