Last Updated on July 1, 2021 by GrahamWalsh
Are you having issues troubleshooting MTR accounts? Systems not signing in etc? Works with one device/account but not another? This is a question I get asked a lot. Sometimes it can come down to configuration. One of the best ways to see what the issue might be is to compare the two accounts. One of the best ways I find to looking at this is with an output from PowerShell. You can check the license, room type, Exchange details will with the resource account login details. If you want to check the CsMeetingRoom configuration, then you will need to be a tenant administrator. Let’s take a look below.
Here is the PowerShell code I’ve put together, might not be the prettiest but it works for me. You just need to set your variables for orgname and roomname below. You’ll need to run PowerShell ISE and an administrator.
PowerShell Script
### Connect to Online Services
Set-ExecutionPolicy RemoteSigned
$orgName="YOURNAMEHERE.onmicrosoft.com"
$roomname="YOURROOMHERE@domain.com"
$credential = Get-Credential
Connect-MsolService -Credential $credential
Connect-AzureAD
$exchangeSession = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "https://outlook.office365.com/powershell-liveid/" -Credential $credential -Authentication "Basic" -AllowRedirection
Import-PSSession $exchangeSession -DisableNameChecking
Get-AzureADUser -ObjectId $roomname
Get-MsolUser -UserPrincipalName $roomname
Get-Mailbox -Identity "$roomname" | fl > c:\temp\$roomname-mailbox.txt
Get-CalendarProcessing -Identity "$roomname" | fl > c:\temp\$roomname-calproc.txt
Get-MsolUser -UserPrincipalName $roomname | fl > c:\temp\$roomname-azuread.txt
### This is only relevant if you have Skype for Business Online
### Must be part of Tenant Administrators group
Import-Module MicrosoftTeams
$sfboSession = New-CsOnlineSession -Credential $credential
Get-CsMeetingRoom -Identity "$roomname" | fl > c:\temp\$roomname-csmeetingroom.txt
Now this script can be run as an admin user so you can just change the roomname to the various accounts you want to compare. If you don’t have the required permissions and just have the room account credentials, you’ll have to log out and back in of the PowerShell window and reconnect. You also might need to change the output location if you don’t have a temp folder. This will output the files so you can compare side by side the differences.
To compare files side by side, I use Notepad++ with the Compare plugin added. Once both files are open when you have the compare the files side by side. Immediately I can see the differences, obviously the room name is different, but in my example below, I’m allowing room booking conflicts in one room and not the other.

So that is the calendar processing above. Below is the CsMeetingRoom configuration on the Skype for Business/Microsoft Teams side of things. Here you can see many more differences. The main one here is that the account on left has Voice enabled and the account on the right does not. This means that the system will not have the Dial Pad icon on the home screen of the Microsoft Teams Room.

I did previously put together a post here and video as per below to do things via a browser and check, but sometimes you need the full details of the account to see what is different.
Thanks for reading and viewing, let me know of any questions in the comments below.
Also published on Medium.