Versions Compared

Key

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

Content

Table of Contents
minLevel1
maxLevel6
include
outlinefalse
indent
excludeContent
typelist
class
printablefalse

1️⃣ Overview

We had in the past a documentation with giving the API full access (read & write) to all agendas (User and resources) and limited then the access by using a Mail-enabled security group. If you have this in place, and you had added a new resource, the new resource in the ROOMZ Poral will be red.

...

You could add the new room by using PowerShell commands over the ExchangeOnline Module in PowerShell (2.1) or use the graphical interface in the M365 Admin Center (2.2)

2.1 PowerShell

a. 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. Execute the following command and connect to your Microsoft365 using an admin account.

Code Block
Connect-ExchangeOnline
  1. Fill this group with all room mailboxes. Don't forget to change the name of RoomzResources should you have used another name:

    Code Block
    Get-Mailbox| where {$_.RecipientTypeDetails -eq "RoomMailbox"} | foreach {Add-DistributionGroupMember -Identity RoomzResources -Member $_.UserPrincipalName}

2.2 Graphical user interface

  • Login to the Admin Portal of M365 and browse to “active teams and groups” :

    Image Added
  • Select Mail-enabled security and sear for ROOMZ Ressources, click on Members and View all and manage members:

    Image Added
  • You can now click to add members and search for your new resources and add them to the group. (it could take up to 24h until the resource in the ROOMZ Portal is green)

    Image AddedImage Added