# Configure a room resource

## How to enable the display of meeting titles

By default events scheduled on the meeting room calendars in Exchange and Microsoft 365 will show the name of the organizer instead of the actual event title, for privacy reasons (see Microsoft KB here <https://docs.microsoft.com/en-us/exchange/troubleshoot/client-connectivity/calendar-shows-organizer-name>). To make the most of Mago Room, you will want more descriptive titles. This is easily fixed through some administrative configuration via Powershell.

{% hint style="warning" %}
**You'll need to create your room resources before you can apply the fix. For newly created room resources, you will need to repeat this process again.**
{% endhint %}

{% stepper %}
{% step %}

#### Run the Azure Powershell or Azure Cloud Shell as an administrator.

{% endstep %}

{% step %}

#### Sign in with Modern Authentication

* Enter the following command and follow the intructions:

```
Connect-ExchangeOnline
```

#### or Sign in with Basic Authentication (deprecated)

* Enter the following command:\
  `$UserCredential = Get-Credential`
* A dialog should popup asking for user credentials. Enter your login information.
* Run the following command to connect to a Microsoft 365 session:\
  `$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri` [`https://outlook.office365.com/powershell-liveid/`](https://outlook.office365.com/powershell-liveid/) `-Credential $UserCredential -Authentication Basic -AllowRedirection`
* Then run:\
  `Import-PSSession $Session`

{% hint style="warning" %}
**Microsoft.PowerShell**

You'll need to run these command:\
`Set-ExecutionPolicy RemoteSigned`

Press Enter , Y , and then run\
`Import-PSSession $Session`
{% endhint %}

![Import-Module error example](https://2978719120-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2FbpP2hYI1Myy7hMs_%2F-MXhsJl1iY8eIYaQdkZW%2F-MXhvwNb7hdi0YuIJIrK%2Fimage.png?alt=media\&token=7a521742-99fc-4ddb-9ff7-acb294f84976)
{% endstep %}

{% step %}

### Run the following command

Lastly, run this command, replacing `{RESOURCEMAILBOX}` with the room resource UPN or email (e.g. <room@company.com>)

* For Exchange Server 2016, Exchange Server 2013 or Exchange Server 2010

`Set-CalendarProcessing -Identity {RESOURCEMAILBOX} -DeleteSubject $False -AddOrganizerToSubject $False -DeleteComments $false -RemovePrivateProperty $false`

* For Exchange Server 2007

`Set-MailboxCalendarSettings -Identity {RESOURCEMAILBOX} -AutomateProcessing AutoAccept -AddOrganizerToSubject $False -DeleteSubject $False -DeleteComments $false -RemovePrivateProperty $false`

This will allow Mago to correctly retrieve an event's title and description for every room resource. Events scheduled on the room calendar will now show up in with the correct name. Private events will remain flagged as private.
{% endstep %}
{% endstepper %}

## How to enable meeting invitations from people outside your organization (optional)

To enable the receipt of invitations to room resources from users in domains not belonging to your tenant, simply set the "`-ProcessExternalMeetingMessages`" parameter to `$true` for the room resource, using PowerShell. Example PowerShell command, replacing `{RESOURCEMAILBOX}` with the room resource UPN or email (e.g. <room@company.com>):

`Set-CalendarProcessing -Identity {RESOURCEMAILBOX} -ProcessExternalMeetingMessages $true`

Refer to this guide for more information:

{% embed url="<https://learn.microsoft.com/en-us/powershell/module/exchangepowershell/set-calendarprocessing?view=exchange-ps>" %}

## How to disable chat history for meeting room resources in Microsoft Teams for security and privacy reasons

Follow this guide to create a messaging policy and apply it to the room resources used within Mago.

{% embed url="<https://learn.microsoft.com/en-us/answers/questions/1320897/i-want-to-disable-chatting-function-in-microsoft-t>" %}
