Microsoft 365
Integrating with Microsoft, the approach
Which integrations Gfacility has with Microsoft 365, which choices you make and the best order to set them up in.
Updated Nov 23, 2026
Integrations · Microsoft 365 · Start here
Does your organisation use Microsoft 365? Then you connect Gfacility to Microsoft in a few places. This article gives the overview: which integrations there are, what you set up for each one and in which order. Each integration links to the article with the details.
All integrations with Microsoft
| Integration | What it is for | Through which app | Needed? |
|---|---|---|---|
| User sync | Your employees are in Gfacility. | Your own app registration | Recommended |
| Department sync | Every employee is linked to their department. | Your own app registration | Optional |
| Location sync | The meeting rooms are in Gfacility, with building and floor. | Your own app registration | Needed for booking |
| Calendar sync | Bookings in Gfacility and Outlook stay the same. | Your own app registration | Needed for booking |
| Sign in with Microsoft | Employees sign in with their Microsoft account. | The Gfacility app | Recommended |
| Outlook add-in | Booking from within Outlook itself. | The Gfacility app | Recommended |
| My office days | Office days appear as the work location in each employee's own Outlook calendar. | The Gfacility app | Optional |
| SSO | Your IT decides who may sign in. | Your own SSO app | Optional, extra |
| Email sending | Emails come from your own sender. | Your own mail app (only with your own mailbox) | Optional |
So there are two apps you always need: your own app registration for the syncs, and the Gfacility app for signing in, the add-in and the office days. SSO and your own mailbox are extras. The difference between the two apps is explained in Two apps in Entra ID.
What do you set up per integration?
User sync · your own app registration
What it is for: nobody has to add employees to Gfacility by hand.
- • Your own app registration as the service account, with Application
User.Read.All. - • Switch on the user sync in Gfacility.
- • Not everyone should be included? Send us a filter (query).
Department sync · your own app registration
What it is for: every employee is linked to the right department automatically.
- • No extra permission: the user sync is enough.
- • Align existing organizations with the department names first.
- • Switch on the department sync in Gfacility.
Location sync · your own app registration
What it is for: meeting rooms are in Gfacility and can be booked.
- • Application
Place.Read.Allon your own app registration. - • Set up the rooms in Microsoft with building and floor.
- • Should some rooms stay out of Gfacility? Send us a filter.
Calendar sync · your own app registration
What it is for: bookings also appear in Outlook, and Gfacility follows what changes in Outlook.
- • Option A: Application
Calendars.ReadWrite(all calendars). - • Option B: Exchange RBAC, with the rooms, employees and shared mailboxes in scope.
- • Never both.
Sign in with Microsoft · the Gfacility app
What it is for: signing in with the work Microsoft account, without a separate password.
- • Admin consent once, with the consent link.
- • Test with one employee.
Outlook add-in · the Gfacility app
What it is for: booking rooms, catering and visitors from an Outlook appointment.
- • Admin consent with the same consent link.
- • Roll out the add-in through the Microsoft 365 admin center, to the employees (not to a shared mailbox).
My office days · the Gfacility app
What it is for: colleagues see in Outlook who is in the office on which day.
- • Admin consent with the same consent link.
- • Each employee clicks Connect my calendar once under Plan your office day.
SSO · optional, your own SSO app
What it is for: your IT decides who may sign in and on what terms.
- • A separate app registration for SSO (OpenID Connect or SAML).
- • SSO only takes over signing in: the Gfacility app is still needed for the add-in and the office days.
Email sending · optional
What it is for: emails from Gfacility come from your own address.
- • By default: nothing to set up, Gfacility sends them itself.
- • Your own mailbox: a separate app with Application
Mail.Send, limited to the sender, or SMTP.
Two apps in Entra ID
Gfacility works with Microsoft in two ways, and each way has its own app in Entra ID. This causes most of the confusion during setup, so read this before you start.
| Your own app registration | The Gfacility app | |
|---|---|---|
| Where in Entra ID? | App registrations. You create it yourselves. | Enterprise applications, as Gfacility or Gfacility (PROD). It appears there as soon as an admin grants consent or the first employee signs in. |
| Who uses it? | Gfacility itself, in the background, without anyone signing in. | An employee, at the moment they do something. |
| For which features? | User sync, department sync, location sync and calendar sync. | Sign in with Microsoft, the Outlook add-in and My office days (the Plan your office day button). |
| Type of permissions | Application | Delegated: never more than the employee is already allowed to do in Exchange. |
| Setup | See the Office 365 integration. | Admin consent once, with the link below. |
Choosing SSO or your own mailbox as well? Then an app of your own is added for that. The Gfacility app is still needed in that case.
Which permissions does the Gfacility app need?
| Feature | Delegated permissions |
|---|---|
| Sign in with Microsoft | openid, profile, email, offline_access, User.Read |
| Outlook add-in | Calendars.Read, Calendars.Read.Shared |
| My office days | Calendars.ReadWrite |
| Shared calendars and booking on behalf of someone else | Calendars.ReadWrite.Shared |
If nobody grants consent, Microsoft asks each employee for it. If user consent is switched off in your organisation, the employee gets the message “Need admin approval” with the name of the Gfacility app in it. So it is best for an admin (Global Administrator or Cloud Application Administrator) to grant consent once for the whole organisation:
- Open the link for the environment and sign in with the admin account.
- Tick “Consent on behalf of your organization” and click Accept. You then land on Gfacility; that is normal.
- Test with a regular employee: signing in, the Outlook add-in and Plan your office day.
Even with consent, an employee still clicks Connect my calendar once in My office days. A Microsoft window opens briefly and closes again by itself. Microsoft only allows work locations through a personal connection, so this step cannot run through your own app registration.
The choices you make
Four choices decide how you set it up. Make them up front, together with the IT admin.
1 · Which employees?
Everyone with a licence, or a subset. For a subset, send us a query that decides who is included. Gfacility sets that filter up for you.
2 · Access to calendars?
All calendars (simplest), or only the rooms and employees you choose through Exchange RBAC. Never both. This choice is only about your own app registration, not about the Gfacility app.
3 · How to sign in?
By default Sign in with Microsoft, through the Gfacility app: quick to set up. If your IT wants control over signing in itself, add SSO on top as an extra, with your own app.
4 · Which sender?
The Gfacility mail server (nothing to set up), or your own mailbox (your own sender). See the comparison below.
Recommended order
Set it up in this order. Each step builds on the one before. Do everything on the test environment (UAT) first and only then on production: they are two separate environments, and you set up both.
| Step | What | Why in this order |
|---|---|---|
| 1 | Prepare Microsoft. Rooms with building and floor number, employees with a licence and a department. | Gfacility copies what is in Microsoft. What is wrong there will be wrong in Gfacility too. |
| 2 | App registration and permissions. Including the choice of calendar access. Use this app registration as the service account, never a personal account. | Every sync needs this app. |
| 3 | Switch on the user sync. Send the filter first if you do not want everyone. | Employees must exist in Gfacility before they can sign in and book. |
| 4 | Switch on the department sync (optional). | Runs on top of the user sync. Align existing organizations with the department names first. |
| 5 | Switch on the location sync. | Align existing buildings and floors first, or they come in twice. |
| 6 | Switch on the calendar sync. | Only works for rooms that are already in Gfacility. |
| 7 | Grant consent for the Gfacility app and set up signing in. Grant admin consent once with the link in Two apps in Entra ID. Test with one employee, then switch it on for everyone. | Only useful once the employees exist (step 3). |
| 8 | Choose email sending. | Before go-live, so the first emails come from the right sender straight away. |
| 9 | Roll out the Outlook add-in. | Last, because it uses everything above. |
Where to find each step
- Step 1: Room management in Microsoft
- Steps 2 to 6: Office 365 integration
- Step 7: Sign in with Microsoft, and optionally SSO integration
- Step 8: Set up email sending and Mail whitelisting
- Step 9: Install the Outlook add-in
Email: Gfacility mail server or your own mailbox?
| Gfacility mail server | Your own mailbox | |
|---|---|---|
| Sender | The Gfacility address | Your own address, e.g. facilities@yourcompany.com |
| Setup | Nothing, works straight away | Set up Microsoft 365 (recommended) or SMTP |
| Replies | Do not automatically reach you | Arrive in your own mailbox |
| Maintenance | None | Renew the client secret or password in time |
| Spam filter | Add the Gfacility address to trusted senders | Not needed |
| If it fails | Gfacility fixes it | The email is not sent until you fix it; administrators get an alert |
Our advice: start with the Gfacility mail server. Move to your own mailbox when employees or visitors need to see your own sender, or when replies need to reach you.
What do you need from the IT admin?
Collect this before you start:
| What | For |
|---|---|
| Directory (tenant) ID, Application (client) ID and the Value of the client secret | The Office 365 integration, and SSO if you choose it |
| The expiry date of the client secret | Renew in time, or the integration stops |
| The query for the user filter | Only if not everyone should be included |
| An admin who can grant consent (Global Administrator or Cloud Application Administrator) | Admin consent for your own app registration and for the Gfacility app |
| The sender address | Only with your own mailbox |
Share the client secret securely, for example through a password manager link. Never in a plain email.