Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

Content

Table of Contents
minLevel1
maxLevel2
excludeContent

1️⃣ Overview

Delegated permissions are used by apps that have a signed-in user present. For these apps, either the user or an administrator consents to the permissions that the app requests and the app can act as the signed-in user when making calls to Microsoft Graph. Some delegated permissions can be consented by non-administrative users, but some higher-privileged permissions require administrator consent | https://roomzio.atlassian.

...

net/wiki/x/AQBZH

...

2️⃣ Create a ROOMZ user

The ROOMZ Server will read and write information with the meeting room's calendar on Microsoft Exchange using Microsoft Graph. We highly recommend creating a specific ROOMZ user for this purpose.

Info

The created user does not need to have a license.

3️⃣ Access rights & calendar information

The following commands have to be executed using Exchange Online PowerShell with admin rights. Once executed, it might take up to 15 minutes before being effective.

a. Execute the following command and connect to your Microsoft 365 using an admin account.

title
Code Block
Connect-ExchangeOnline
Expand
here to remedy it
Note

If you encounter an error while executing the above command, please click

below this message and follow the instructions.

Expand
titleTo resolve errors related to the 'Connect-ExchangeOnline' command

Install or start Exchange Online PowerShell Module. You can install the Module directly in the PowerShell on your Computer:

  1. Update your PowerShell to the latest version by using the following commands:

    Code Block
    winget install --id Microsoft.Powershell --source winget

    Please note that if you had PowerShell V5 before, the new PowerShell V7 will be a new app on your PC, we recommend to use the version 7.x.

  2. Now you can install the Module by the following commands:

    Code Block
    Install-Module -Name ExchangeOnlineManagement

    If you get an error message like the following, you have to allow PowerShell to run scripts:

    Code Block
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine

    After the installation, we recommend to set the policy again to “restricted”:

    Code Block
    Set-ExecutionPolicy -ExecutionPolicy restricted -Scope LocalMachine
  3. You need to import the module :

    Code Block
    Import-Module ExchangeOnlineManagement

b. In order to provide the access to “roomz-manager” to the agenda of a meeting room, please execute the following command per room: (replace roomz-manager by the name of your ROOMZ user and my-room by the identifier of your meeting room)

...

Code Block
languagepowershell
Get-Mailbox| where {$_.RecipientTypeDetails -eq "RoomMailbox"} | Add-MailBoxPermission -User roomz-manager -AccessRights FullAccess -InheritanceType All

4️⃣ Meeting Title & Private Flag

By default, when a user is sending an invitation for reserving a meeting room, Exchange will only store the name of the organizer in the agenda of the meeting room. The meeting's title and the private flag are not stored.

...

When a meeting is private, the display will show the information as follows :

...

5️⃣ Create the booking system in the ROOMZ Portal

  1. Login to the ROOMZ Portal and navigate to Global Settings - Booking system and select add booking system, there you select Google (Delegation):

image-20240704-122713.pngImage Added

  1. Then log in with the account created in step 2️⃣ :

image-20240704-122911.pngImage Added

  1. Click on Add Resource and fill in the Name of the Resource, and the Resource ID (email address of the meeting room).

...

 

  1. You can click Test all and check the correct setup of your connector.

Everything’s green ? Great !

Something’s not working ? Just click on the Status Indicator to know more about the error

...

In case of an error, you can easily Edit your Resource and test the connectivity again

Once all the tests are OK you can move on to the next step !

...

6️⃣ Next Step

 

3 - Device Registration