Top.Mail.Ru

Advanced UnSpot Plan from $100 $50 for Your Company Fix this Price

Promo deadline:
Help center / Administration / Connecting the meeting room calendar / Connect Microsoft 365 via a Microsoft Entra application

Connect Microsoft 365 via a Microsoft Entra application

Microsoft App is a way to connect Microsoft 365 calendars to UnSpot through an application registered in Microsoft Entra. You create the application in your tenant once, grant it calendar permissions and enter its identifiers in UnSpot — after that, this single connection serves all meeting room resource calendars: UnSpot fetches the list of your organisation’s rooms and connects their calendars without signing in under a user account and without delegating rights to each calendar separately. The classic scheme with a service-account sign-in keeps working — see Prepare Microsoft 365 calendar to work with UnSpot.

How it works

UnSpot calls Microsoft Graph as the application, not as a signed-in user. The application is registered in Microsoft Entra in your tenant, receives a client secret and two application-level permissions: Place.Read.All — to read the organisation’s room list, and Calendars.ReadWrite — to manage calendar events. Once a tenant administrator grants admin consent, UnSpot authenticates directly with Microsoft using the application identifiers (Client ID + Tenant ID + Client Secret) — no interactive sign-in and no repeated user authorisation.

  • When you save a connection, UnSpot verifies access by requesting the tenant’s room list from Microsoft. If the application data is wrong or consent has not been granted, the connection is not saved — UnSpot shows the error description and the original Microsoft response.
  • When you connect a calendar to a meeting room, UnSpot attempts to create a test event in the room calendar and immediately deletes it — this is how write access is checked.
  • After that the synchronisation is two-way: UnSpot meeting room bookings are created, updated and deleted in the default calendar of the room mailbox, and events created directly in the room calendar (for example, from Outlook) appear in UnSpot. Changes arrive via a Microsoft Graph change-notification subscription that UnSpot sets up when the calendar is connected.
  • One connection serves all rooms of the tenant. You can create several connections — for example, for different Microsoft tenants.

Requirements

  • Access to Microsoft Entra with the right to register applications and grant admin consent — for example, the Global Administrator role.
  • Meeting rooms exist in Microsoft 365 as room resource mailboxes (Room mailbox) — otherwise UnSpot will not see them in the list.
  • UnSpot permissions: the connection is set up by a Super Administrator. An Integrations Administrator can see the Synchronisations tab but cannot manage calendar connections.

Creating the application in Microsoft Entra

Open entra.microsoft.com, select App registrations in the left menu and click New registration.

Enter any name in the Name field. Under Supported account types pick the single-tenant option — Accounts in this organizational directory only (Single tenant). Click Register.

Create an application secret: on the application page open Certificates & secrets (or the Add a certificate or secret link on the Overview tab) and click New client secret. Fill in the Description (optional) and choose the expiry period — we recommend the maximum (24 months). Click Add.

Copy the Value column immediately and store it somewhere safe: once you leave the page, Microsoft will never show the full secret again. Note the expiry date — when the secret expires, synchronisation stops and you will need to issue a new secret and update it in UnSpot.

The application identifiers live on the Overview tab: Application (client) ID is the ClientId and Directory (tenant) ID is the TenantId. Copy both values — you will need them in UnSpot.

Grant the permissions: open API permissions, click Add a permission, choose Microsoft GraphApplication permissions.

Tick two permissions — Place.Read.All and Calendars.ReadWrite — and click Add permissions.

Click Grant admin consent and confirm. Both permissions must show a green Granted mark in the Status column. The default delegated permission User.Read that Entra adds at registration can stay — it does not interfere.

Note: the Calendars.ReadWrite application permission applies to the calendars of every mailbox in the tenant. If needed, you can limit the application scope to room mailboxes only with the Exchange Online New-ApplicationAccessPolicy policy (see Microsoft documentation).

Creating a connection in UnSpot

Go to Manage → Integrations → Synchronisations, find the Microsoft 365 card in the Calendar synchronization section and click Connect.

Fill in the Microsoft Connection form — all fields are required:

FieldWhat to enter
ClientIdThe Application (client) ID from the application’s Overview page. Each connection needs its own ClientId — the same one cannot be used in two connections. The field cannot be changed after the connection is created.
TenantIdThe Directory (tenant) ID from the application’s Overview page.
ClientSecretThe secret’s Value copied when the secret was created. After saving, the secret is hidden and never shown when editing.
Connection nameAny name from 2 to 255 characters — shown on the connection card and when picking a connection for a meeting room.

After you click Save, UnSpot verifies access by requesting the tenant’s room list from Microsoft. On success the window closes, the connection appears in the card list and the “Microsoft connected successfully” toast is shown. If the check fails, the form window stays open and a separate dialog shows the error description and the original Microsoft response.

Managing connections

  • You can have several connections — each is shown as a separate card, and there is always a card with a Connect button to add another one.
  • Edit — change the connection. ClientId cannot be edited (create a new connection for a different application); TenantId, ClientSecret and the name can. The saved secret is never displayed — the form shows a ******** mask instead; a new value is sent only if you type it in. UnSpot re-verifies access on save.
  • Disconnect — removes the connection after a confirmation dialog. Meeting room calendars linked to this connection are disconnected together with it.
  • If a connection stops working — for example, the ClientSecret has expired or consent was revoked — the card is marked “Connection Error”. Update the data via Edit; an invalid connection is not offered when connecting a room calendar.

Connecting a room calendar

A calendar is connected from the meeting room card; no repeated Microsoft sign-in is required:

  1. Go to Manage → Office management → Workspaces, open the meeting room card and proceed to connecting a calendar.
  2. Pick the Microsoft tile with the name of the connection you need.
  3. In the Calendar connection window select the room’s resource calendar from the list and click Connect. The list shows calendars that are not yet connected to other rooms.

During the connection UnSpot attempts to create a test event in the calendar and immediately deletes it. If the event could not be created, UnSpot shows the error description and the Microsoft response. A meeting room with a connected calendar shows the Microsoft icon on the workspaces page. The calendar is disconnected the same way as for other providers — from the meeting room card.

Connection errors

MessageWhat it means and what to do
Client ID is already usedA connection with this ClientId already exists. Register a separate Entra application for a second connection.
Invalid credentials.Microsoft rejected the application sign-in. Check the ClientId, TenantId and ClientSecret; make sure the secret has not expired.
Insufficient permissions for service account or application.The application lacks permissions. Check that the Place.Read.All and Calendars.ReadWrite application permissions are added and admin consent is granted.
External calendar provider error.A general error while calling Microsoft. UnSpot shows the original service response in the error dialog — it points to the cause.
This calendar is already connected.The selected resource calendar is already linked to another meeting room.
Room already has a connected calendarA meeting room can have only one calendar — disconnect the current one first.
Calendar not found.The resource calendar is not available to the application — check that the room exists in the tenant as a Room mailbox.

Leave a request for a call and we will contact you

Loading