HOW TO CREATE A MICROSOFT TEAMS ROOM RESOURCE WITH POWERSHELL

HOW TO CREATE A MICROSOFT TEAMS ROOM RESOURCE WITH POWERSHELL

Note: Always run Powershell with administrator privileges.

Prerequisites:


  • Up-to-date Powershell application

  • Exchange Online Management module for Powershell (EXO V2)

  • Microsoft Teams Room License (Pro ***Standard and Premium licenses are now Legacy***)


Updating Powershell

Install-Module PowershellGet -Force
Update-Module PowershellGet
Set-ExecutionPolicy RemoteSigned
Install-Module -Name ExchangeOnlineManagement 



Installing EXO V2


Import-Module ExchangeOnlineManagement; Get-Module ExchangeOnlineManagement 




Connecting to Exchange Online

Connect-ExchangeOnline
Connect-MsolService
Install-Module MicrosoftTeams
Connect-MicrosoftTeams
Get-MsolAccountSKU


Connect-exchangeonline
                  // You will be required to enter you credentials. Make sure you use an account that has user admin privileges //
Connect-msolservice                        //  You will be required to enter you credentials. Make sure you use an account that has licensing admin privileges  //

Install-module microsoftteams    // If you haven't install this module. It's only required if it's the first time you connecting to it//

Connect-microsoftteams             // You will be required to enter you credentials. Make sure you use an account that has Teams administrator privileges//

Get-MsolAccountSku                  // This command will return available licenses SKU available under your account //




Setting variables:

$NewRoom="[EmailAddress]"
$Name="[DisplayName]"
$pwd="[YourPassword]"
$location="CA"
$license="[LicenseName]"

Replace text in [...] by the actual information of your room. To obtain the exact name of the license, run the Get-MsolAccountSku command

Creating the resource mailbox:


New-Mailbox -MicrosoftOnlineServicesID $newRoom -Name $name -Room -RoomMailboxPassword (ConvertTo-SecureString -String $pwd -AsPlainText -Force) -EnableRoomMailboxAccount $true 
Set-Mailbox -Identity $newRoom -MailTip “This room is equipped to support Teams Meetings”
Set-CalendarProcessing -Identity $newRoom -AutomateProcessing AutoAccept -AddOrganizerToSubject $false -RemovePrivateProperty $false -DeleteComments $false -DeleteSubject $false -AddAdditionalResponse $true -AdditionalResponse “Your meeting is now scheduled and if it was enabled as a Teams Meeting will provide a seamless click-to-join experience from the conference room.”

//Wait 30 seconds and run the Set-MsolUser cmdlet to disable password expiration and set the UsageLocation :  
Set-MsolUser -UserPrincipalName $newRoom -PasswordNeverExpires $true -UsageLocation $location
Set-MsolUserLicense -UserPrincipalName $newRoom -AddLicenses $license



Get-CsOnlineUser |ft RegistrarPool                             // View the registration pool of your devices //
Get-ExoMailbox -identity ressource@domain.ca   // Validate your resource/mailbox*//

You can also verify the calendar processing for your newly created resource mailbox using the following command:

Get-CalendarProcessing -Identity [mailboxEmail] | Format-List



...You're done!


    • Related Articles

    • How to manually update MTR (Microsoft Teams Room)

       Share  Favorite  subscribe Download PDF [Issue Description] [Resolution] [More Information] [Product Model] [Firmware Version] [Issue Description] This guide provides you a method to mandatory upgrade the Microsoft Teams Rooms(MTR) software. ...
    • Manually update a Microsoft Teams Rooms device

      Applies to: Microsoft Teams Room Systems The Microsoft Teams Rooms app is distributed through the Microsoft Store. Updates to the app are installed from the Microsoft Store automatically during nightly maintenance; this is the recommended method to ...
    • HOW TO CHANGE MICROSOFT TEAMS ROOMS UI LANGUAGE

      Selecting a language In Creator's Update, you will need to use the ApplyCurrentRegionAndLanguage.ps1 script in scenarios where implicit language selection does not provide the user with the actual application language they want (e.g., they want the ...
    • MICROSOFT TEAMS ROOM CUSTOM BACKGROUND

      Step 1: Make a background image You need an image file which is exactly 3840×1080. The reason you need one that size is because the image needs to stretch across two front of room displays. Even if you only use one display, it has to be that size. In ...
    • Setting up proxy on Microsoft Teams Room (Yealink/Logitech/Poly)

      Microsoft Teams Rooms is designed to inherit Proxy settings from the Windows OS. Access the Windows OS in the following manner: In the Microsoft Teams Rooms UI, click on the Settings gear icon where you'll be prompted for the local Administrator ...
    • Recent Articles

    • WPP20 - Mtouch - English

      If you are having trouble with your system, contact our support team here or send an email to support@xavsolution.com.
    • WPP20 - Mtouch - Français

      Vous éprouvez de la difficulté avec le sytème, communiquez avec notre équipe de support ici ou envoyez un courriel à support@xavsolution.com.
    • WPP30 - fr

      Vous éprouvez de la difficulté avec le sytème, communiquez avec notre équipe de support ici ou envoyez un courriel à support@xavsolution.com. A.V.E.C. - Apporter votre équipements de communication. C'est aussi la traduction de l'accronyme anglais, ...
    • WPP30 - en

      If you are having trouble with the system, contact our support team here or send an email to support@xavsolution.com. BYOD : Bring your own communication device
    • Zoom Room Android - Room controls + B.Y.O.D. WPP30

      BYOD : Bring your own communication device If you are having trouble with the system, contact our support team here or send an email to support@xavsolution.com. If you are having trouble with the system, contact our support team here or send an email ...