---
title: "Calendar and Contact sync with Microsoft"
slug: "calendar-and-contact-sync-with-office-365"
updated: 2025-09-22T08:40:41Z
published: 2025-09-22T08:40:41Z
canonical: "docs.icc.infracom.se/calendar-and-contact-sync-with-office-365"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.icc.infracom.se/llms.txt
> Use this file to discover all available pages before exploring further.

# Calendar and Contact sync with Microsoft

**NOTE:** As of October 2022, Microsoft will be retiring **Basic Authentication** on which Infracom’s previous Calendar and Contact sync with Office 365 is built on. We now support **Modern Authentication**, read how to set i up below. If you have a local Exchange server (**onprem**) and want to use Basic Authentication, see [Sync with local Exchange server](/v1/docs/calendar-and-contact-sync-with-office-365#3-sync-with-your-local-exchange-server-onprem).

## 

## 1. Sync with Office 365

In order to change or set up the required authentication type to **Modern Authentication,** consent as administrator, has to be given from within our poral.

Go to your **Company** -> **Miscellaneous** -> **Integrations** settings in your Infinity portal

![Rectangle Description automatically generated](https://cdn.document360.io/934d2981-82e1-4fb3-a8ab-1fe44dae2b50/Images/Documentation/calendar-and-contact-sync-with-office-365-modern-authentication-image-6iinqzvn.png)

Click on the **Office_365** button or when setting it up for the first time choose **Microsoft Office 365** as EWS version:

![](https://cdn.document360.io/934d2981-82e1-4fb3-a8ab-1fe44dae2b50/Images/Documentation/image-1758529253858.png)

**Note:** Note the **Consent as admin** button, **click** the button.

A new page will open with a login page to Microsoft Office365. Log in with your Administrator credentials to you Microsoft Office 365 and then accept the permissions needed.

![Text, letter Description automatically generated](https://cdn.document360.io/934d2981-82e1-4fb3-a8ab-1fe44dae2b50/Images/Documentation/calendar-and-contact-sync-with-office-365-modern-authentication-image-5s9oswb5.png)

Once this has been done your portal should look like this:

![](https://cdn.document360.io/934d2981-82e1-4fb3-a8ab-1fe44dae2b50/Images/Documentation/image-1758528565904.png)

## 2. Add Exchange alias and trigger

Log in to the web portal as **portal** **administrator** and under the user enter the user's email address under **Exchange Alias**.

**OBS**: When using Modern Authentication (Part 1) the users **Exchange Alias** needs to be the same as the users **Primary SMTP-address** in Exchange **!**

![](https://cdn.document360.io/934d2981-82e1-4fb3-a8ab-1fe44dae2b50/Images/Documentation/image-1663659338685.png)

Do not forget to always click **save** and then on **Apply PBX Changes** at the top left menu list

### Add trigger for calendar sync

In order for it to be loaded correctly from your Exchange Server, you need to fill in Triggers in the user's Profile, which then triggers the behaviour by having these words in the subject line for that event in the Calendar. These must be uploaded to all users who will use Calendar sync. Either the administrator or the user can add **Trigger Words** to the portal. Press "**Add**" for each new word to be added and do not forget to press "**Save**".

![](https://cdn.document360.io/934d2981-82e1-4fb3-a8ab-1fe44dae2b50/Images/Documentation/image-1663660127525.png)

Standard Triggers:

| Profile | Trigger |
| --- | --- |
| Gone for the day | Gone for the day; GFD |
| Lunch | Lunch; LUN |
| Meeting | Meeting; MÖT |
| Holiday | Holiday; HOL |
| Sick | Sick |
| Do not disturb | Do not disturb; DND |
| Temporarily unavailable | Temporarily unavailable; UTE |
| Available | Available |
| Away on business | Away on business; TJR |
| On leave | On leave; TJL |
| Out of office | Out of office |
| Partental leave | Parental leave |

**Sidenote:**

Calender sync status has a higher priority then our [Link Precense to Profile](https://docs.icc.infracom.se/docs/teams-astrid-app?highlight=Link%20pre) service; meaning that it will override the profilesettings there.

## 3. Sync with your local Exchange server (Onprem)

### Calendar / Contact syncing

To get started with syncing the calendar and contacts to Infinity, you need to configure a couple of things in Exchange and put the account information in our portal. As a customer, you need to create a service account with the application implementation role in your Office365, which is then added to our portal. The service account itself then needs Review rights to the calendar and contacts entered through PowerShell to the Exchange Server. In our portal, you then need to add trigger words in the profiles for the users and add an Exchange alias.

### Create a service account

Log in to Exchange admin as an administrator and navigate to **USERS** -> **Active Users**

![](https://cdn.document360.io/934d2981-82e1-4fb3-a8ab-1fe44dae2b50/Images/Documentation/image-1631888457232.png)

Add a new user and fill in all the required information. The username is the name of the service account ie. "Service account". Under **Roles**, add the **Exchange administrator** as a role and click "**Add**". The account should have licenses for at least Exchange Online and Sharepoint Online.

### Create Impersonate role

Log in to the Exchange Admin Portal

Under ”**Permission**” -> ”**Admin Roles**” click ”**+**” and add a new role and assign a name to it i.e ”ContactCalenderImpersonation”

![](https://cdn.document360.io/934d2981-82e1-4fb3-a8ab-1fe44dae2b50/Images/Documentation/image-1631888642748.png)

Under ”**Roles**” click **”+”** again and choose ”**ApplicationImpersonation**”, add and click **OK**.

![](https://cdn.document360.io/934d2981-82e1-4fb3-a8ab-1fe44dae2b50/Images/Documentation/image-1631888798323.png)

When done, go to "Members" and select the user who has admin rights in your Exchange Server created during step one and press OK. Press "Save" in the "Role Group" window. You can now see the role in the list.

### Review permissions

To connect the exchange server with Cellip’s Calendar / Contacts service, run a couple of commands in PowerShell as the local Exchange admin. To check the rights in an account, you can use:

*Get-MailboxFolderPermission* . first name surname:\calendar (or: contacts)

Then enter permissions to the newly created account via:

***(Get-Mailbox -recipienttypedetails usermailbox) | Foreach-Object {Add- MailboxFolderPermission $_":\Contacts" -User (SipAddress to created account) -AccessRights Reviewer}***

***(Get-Mailbox -recipienttypedetails usermailbox) | Foreach-Object {Add- MailboxFolderPermission $_":\Calendar" -User (SipAddress to created account) -AccessRights Reviewer}***

Then check it by running, for example:

***Get-MailboxFolderPermission first namen. surname:\calender***

Note that a new line has now been added where the created service account gets the "Review" right for this user's calendar.

### Add to Infinity portal

In order for your Exchange Server to be able to sync with our platform, you must create an integration with it through the UC Portal.

Go to "**Integrations**" in the left menu in the portal and press "**Create New**"

![](https://cdn.document360.io/934d2981-82e1-4fb3-a8ab-1fe44dae2b50/Images/Documentation/image-1631888811207.png)

Fill in the required information:

![](https://cdn.document360.io/934d2981-82e1-4fb3-a8ab-1fe44dae2b50/Images/Documentation/image-1631888860186.png)

(**NB**: This is a demo for Cellip.se for Exchange Online, you will need to fill in your username and password with your Service Account that was created before and fill in your own domain name)

Click ”**Save**”

## 

###
