Gfacility

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

IntegrationWhat it is forThrough which appNeeded?
User syncYour employees are in Gfacility.Your own app registrationRecommended
Department syncEvery employee is linked to their department.Your own app registrationOptional
Location syncThe meeting rooms are in Gfacility, with building and floor.Your own app registrationNeeded for booking
Calendar syncBookings in Gfacility and Outlook stay the same.Your own app registrationNeeded for booking
Sign in with MicrosoftEmployees sign in with their Microsoft account.The Gfacility appRecommended
Outlook add-inBooking from within Outlook itself.The Gfacility appRecommended
My office daysOffice days appear as the work location in each employee's own Outlook calendar.The Gfacility appOptional
SSOYour IT decides who may sign in.Your own SSO appOptional, extra
Email sendingEmails 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).
Office 365 integration →

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.
Office 365 integration →

Location sync · your own app registration

What it is for: meeting rooms are in Gfacility and can be booked.

  • • Application Place.Read.All on 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.
Room management in Microsoft →

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.
Office 365 integration →

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.
Sign in with Microsoft →

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).
Install the Outlook add-in →

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.
SSO integration →

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.
Set up email sending →

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 registrationThe 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 permissionsApplicationDelegated: never more than the employee is already allowed to do in Exchange.
SetupSee 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?

FeatureDelegated permissions
Sign in with Microsoftopenid, profile, email, offline_access, User.Read
Outlook add-inCalendars.Read, Calendars.Read.Shared
My office daysCalendars.ReadWrite
Shared calendars and booking on behalf of someone elseCalendars.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:

  1. Open the link for the environment and sign in with the admin account.
  2. Tick “Consent on behalf of your organization” and click Accept. You then land on Gfacility; that is normal.
  3. Test with a regular employee: signing in, the Outlook add-in and Plan your office day.

Production

Consent for app.gfacility.com

Grant consent for PROD →

UAT / Test

Consent for uat.gfacility.com

Grant consent for UAT →

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.

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.

StepWhatWhy in this order
1Prepare 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.
2App 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.
3Switch 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.
4Switch on the department sync (optional).Runs on top of the user sync. Align existing organizations with the department names first.
5Switch on the location sync.Align existing buildings and floors first, or they come in twice.
6Switch on the calendar sync.Only works for rooms that are already in Gfacility.
7Grant 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).
8Choose email sending.Before go-live, so the first emails come from the right sender straight away.
9Roll out the Outlook add-in.Last, because it uses everything above.

Where to find each step

Email: Gfacility mail server or your own mailbox?

Gfacility mail serverYour own mailbox
SenderThe Gfacility addressYour own address, e.g. facilities@yourcompany.com
SetupNothing, works straight awaySet up Microsoft 365 (recommended) or SMTP
RepliesDo not automatically reach youArrive in your own mailbox
MaintenanceNoneRenew the client secret or password in time
Spam filterAdd the Gfacility address to trusted sendersNot needed
If it failsGfacility fixes itThe 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:

WhatFor
Directory (tenant) ID, Application (client) ID and the Value of the client secretThe Office 365 integration, and SSO if you choose it
The expiry date of the client secretRenew in time, or the integration stops
The query for the user filterOnly 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 addressOnly with your own mailbox

Share the client secret securely, for example through a password manager link. Never in a plain email.