使用 商務用 Skype Server 部署 Microsoft Teams 會議室

本主題說明當您擁有單一森林內部部署時,如何新增 Microsoft Teams 會議室 的資源帳戶。

如果您使用 Exchange 2013 SP1 或更新版本及 2015 年 商務用 Skype Server 或更新版本的單一森林內部部署,則可以使用提供的 Windows PowerShell 腳本來建立裝置帳戶。 如果您使用多林部署,可以使用同等的 Cmdlet 來產生相同的結果。 本節說明這些 Cmdlet。

開始部署 Microsoft Teams 會議室 之前,請確定您擁有執行相關聯 Cmdlet 的正確許可權。

Set-ExecutionPolicy Unrestricted
$org='contoso.com'
$cred=Get-Credential $admin@$org
$sessExchange = New-PSSession -ConfigurationName microsoft.exchange -Credential $cred -AllowRedirection -Authentication Kerberos -ConnectionUri
"http://$strExchangeServer/powershell" -WarningAction SilentlyContinue
$sessLync = New-PSSession -Credential $cred -ConnectionURI "https://$strLyncFQDN/OcsPowershell" -AllowRedirection -WarningAction SilentlyContinue
Import-PSSession $sessExchange
Import-PSSession $sessLync

請注意,$strExchangeServer是 Exchange 伺服器的 FQDN) (完整功能變數名稱,而 $strLyncFQDN 是您 商務用 Skype Server 部署的 FQDN。

  1. 建立會話之後,您將建立新的信箱並將其啟用為 RoomMailboxAccount,或是變更現有會議室信箱的設定。 這可讓帳戶驗證以 Microsoft Teams 會議室。

    如果您要變更現有的資源信箱:

    Set-Mailbox -Identity 'ConferenceRoome01' -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password>
    -AsPlainText -Force)
    

    如果您要建立新的資源信箱:

    New-Mailbox -UserPrincipalName ConferenceRoom01@contoso.com -Alias ConferenceRoom01 -Name "Conference Room 01" -Room
    -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String <password> -AsPlainText -Force)
    
  2. 您可以在 Teams 會議室 資源帳戶上設定各種 Exchange 屬性,以改善人員的會議體驗。 您可以在 [Exchange 屬性] 區段中查看需要設定哪些屬性。

    Set-CalendarProcessing -Identity ConferenceRoom01 -AutomateProcessing AutoAccept -AddOrganizerToSubject $false -AllowConflicts $false -DeleteComments
    $false -DeleteSubject $false -RemovePrivateProperty $false
    Set-CalendarProcessing -Identity ConferenceRoom01 -AddAdditionalResponse $true -AdditionalResponse "This is a Microsoft Teams and Skype for Business meeting room!"
    
  3. 關閉資源帳戶的密碼到期。

    Set-AdUser ConferenceRoom01@contoso.com -PasswordNeverExpires $true
    
  4. 在 Active Directory 中啟用資源帳戶,以便驗證以 Microsoft Teams 會議室。

    Set-AdUser ConferenceRoom01@contoso.com -Enabled $true
    
  5. 在 商務用 Skype Server 集區上啟用 Microsoft Teams 會議室 Active Directory 帳戶,以 商務用 Skype Server 啟用資源帳戶:

    Enable-CsMeetingRoom -Identity ConferenceRoom01 -SipAddress sip:ConferenceRoom01@contoso.com -DomainController DC-ND-001.contoso.com
    -RegistrarPool LYNCPool15.contoso.com 
    

    -DomainController將和-RegistrarPool屬性變更為適合您環境的值。

  6. 選。 您也可以允許 Microsoft Teams 會議室 啟用帳戶的 企業語音, (PSTN) 電話撥打和接聽公用電話交換網。 企業語音 不是 Microsoft Teams 會議室 的需求,但如果您想要 PSTN 撥號功能以供 Microsoft Teams 會議室 使用,以下是啟用方式:

    Set-CsMeetingRoom -Identity ConferenceRoom01 -DomainController DC-ND-001.contoso.com -LineURI "tel:+14255550555;ext=50555"
    Set-CsMeetingRoom -Identity ConferenceRoom01 -DomainController DC-ND-001.contoso.com -EnterpriseVoiceEnabled $true
    Grant-CsVoicePolicy -Identity ConferenceRoom01 -PolicyName VP1
    Grant-CsDialPlan -Identity ConferenceRoom01 -PolicyName DP1
    

    同樣地,您必須以自己的資訊取代提供的域控制器和電話號碼範例。 參數值$true保持不變。 您也需要取代語音原則和撥號對應表原則名稱。

範例:Exchange 和 商務用 Skype Server 內部部署中的會議室帳戶設定

New-Mailbox -Alias ConferenceRoom01 -Name "Conference Room 01" -Room -EnableRoomMailboxAccount $true -RoomMailboxPassword (ConvertTo-SecureString -String "" -AsPlainText -Force) -UserPrincipalName ConferenceRoom01@contoso.com

Set-CalendarProcessing -Identity ConferenceRoom01 -AutomateProcessing AutoAccept -AddOrganizerToSubject $false -AllowConflicts $false -DeleteComments $false -DeleteSubject $false -RemovePrivateProperty $false
Set-CalendarProcessing -Identity ConferenceRoom01 -AddAdditionalResponse $true -AdditionalResponse "This is a Microsoft Teams and Skype for Business meeting room!"

Enable-CsMeetingRoom -Identity ConferenceRoom01@contoso.com -RegistrarPool cs3.contoso.com -SipAddressType EmailAddress
Set-CsMeetingRoom -Identity ConferenceRoom01 -EnterpriseVoiceEnabled $true -LineURI tel:+155555555555
Grant-CsVoicePolicy -Identity ConferenceRoom01 -PolicyName dk
Grant-CsDialPlan -Identity ConferenceRoom01 -PolicyName e15dp2.contoso.com

設定 Microsoft Teams 會議室 帳戶

規劃 Microsoft Teams 會議室

部署 Microsoft Teams 會議室

設定 Microsoft Teams 會議室主控台

管理 Microsoft Teams 會議室