# Preview personal contact sync

Preview personal contact sync on Evotec with practical examples, usage guidance, and reusable project workflows.

Project

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.

[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**48**

Forks**12**

Open issues**4**

PowerShell Gallery downloads**3100**

Release**v1.0.7**

Language: PowerShell Updated: 2026-11-03

Curated Examples

Preview synchronization of selected Microsoft 365 contacts into a mailbox.

This pattern is useful when you want to validate filters and folder targeting before writing contacts.

It is adapted from `Examples/02.PersonalContactsSynchronize.ps1`.

## Example

```powershell
Import-Module O365Synchronizer

$clientId = '<application-id>'
$tenantId = '<tenant-id>'
$clientSecret = '<client-secret>'

$credential = [pscredential]::new($clientId, (ConvertTo-SecureString $clientSecret -AsPlainText -Force))
Connect-MgGraph -ClientSecretCredential $credential -TenantId $tenantId -NoWelcome

Sync-O365PersonalContact `
    -UserId 'pilot.user@example.com' `
    -MemberTypes 'Member', 'Contact' `
    -GuidPrefix 'O365Synchronizer' `
    -FolderName 'O365Sync' `
    -WhatIf |
    Format-Table *
```

## What this demonstrates

- previewing contact synchronization
- targeting a specific mailbox and folder
- limiting synchronized object types

## Source

- [02.PersonalContactsSynchronize.ps1](https://github.com/EvotecIT/O365Synchronizer/blob/master/Examples/02.PersonalContactsSynchronize.ps1)

<!-- PowerForge markdown artifact sha256:34F209D7FC5BE6E941DDF0FBCAF2E511CAAB3B127A1B75D45334F82737B96A45 -->
