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

Project

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.

[View on GitHub](https://github.com/EvotecIT/O365Synchronizer) [Visit Website](#) [Releases](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.3) [Changelog](#) [Get package](https://www.powershellgallery.com/packages/O365Synchronizer)

Stars**47**

Forks**12**

Open issues**3**

PowerShell Gallery downloads**3100**

Release**v1.0.7**

Language: PowerShell Updated: 2026-11-03

## Install

Install the published package or clone the source.

### PowerShell Gallery

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

### Source checkout

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

## Downloads

Package feeds and release channels for this project.

[PowerShell Gallery **O365Synchronizer** Version 1.0.7 | Total downloads 3,100](https://www.powershellgallery.com/packages/O365Synchronizer) [Releases **v1.0.7** Published 2026-10-06 | Total downloads 3,100](https://github.com/EvotecIT/O365Synchronizer/releases/tag/v1.0.3)

## Changelog

Release notes published with each GitHub release.

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

## Related Blog Posts

Articles that mention this project, package, or closely related keywords.

[Browse blog](/blog/)

Searching the blog index...

Consulting track

## Need help taking this into production?

### Entra Connect and Hybrid Identity Troubleshooting

We help teams diagnose sync failures, connector issues, permission mismatches, and reporting blind spots across on-premises AD and Microsoft 365.

- Structured troubleshooting for Entra Connect and hybrid sync failures.
- Operational reporting to validate current synchronization state.
- Safer remediation and handoff patterns for hybrid identity support.

We offer implementation, remediation, automation design, and delivery support around the platforms behind this project.

[Explore related service](/services/entra-connect-hybrid-identity-troubleshooting/) [View representative engagement](/services/case-studies/hybrid-identity-and-entra-connect-stabilization/) [All services](/services/)

## Resources

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

<!-- PowerForge markdown artifact sha256:17437D97300D6CA3CEB01A26FBBD1CC2A8BE3D1162117F2DD25C3FE7EFDD92DE -->
