Apparently, authors are not shown when creating a meeting with exchange online! That means, when a room is being used for a meeting – no one knows who created it. This, one would think, would be an easy solution. Which it is. Sort of. Research was the hardest part about this project, but it was done anyways.
In this scenario, the meeting mailbox was created as a room resource.
Here’s a breakdown of the steps.
- Prepare PowerShell
- Log in via remote PowerShell
- Edit calendar permissions
- Edit read properties in Outlook Desktop
- Edit calendar processing in PowerShell
1. Prepare PowerShell
The first step is to install the required module in PowerShell in order to access remote PowerShell sessions to Exchange online. In an elevated PowerShell instance, enter the following commands.
Get-InstalledModule ExchangeOnlineManagement
Install-Module PowerShellGet
2. Log in via Remote PowerShell
Now that the required modules are installed, connect to your Exchange Online instance with the following command.
Connect-ExchangeOnline -UserPrincipalName <username>@<domain.com> -ShowProgress $true
In some instances, remote script execution needs to be enabled as well.
Set-ExecutionPolicy RemoteSigned
3. Edit Calendar Permissions
First we need to see what permissions are already assigned to users.
Get-MailboxFolderPermission -Identity "<RoomIdentity>:\calendar"
If the administrator is currently not the owner of this folder, use the next command to grant them that privilege.
Add-MailboxFolderPermission -Identity "<RoomIdentity>:\calendar" -User <uername>@<domain.com> -AccessRights Owner
NOTE: The user granted the owner privilege does NOT need to be the current logged in user, but it will need to be logged into Outlook Desktop in the next step.
4. Edit Read Properties in Outlook Desktop
Navigate to Outlook Desktop. Right-Click on the room calendar that you are working with, and select Properties, and navigate to the Permissions tab.
Ensure that read is set to “Full Details”. If the default user is not already set to Reviewer, they will be once the permissions are configured.
5. Edit Calendar Processing in PowerShell
Now, back to our good friend PowerShell! This final command will essentially add the meeting organizer to the subject of the meeting title, and delete everything else for users that meeting is not directly shared with. This will hide sensitive information, while letting everyone know who made the meeting.
Set-CalendarProcessing -Identity "<RoomIdentity>" -AddOrganizerToSubject $true -DeleteComments $true -DeleteSubject $true