將 Microsoft 指派為音訊會議提供者

重要

由中國 21Vianet 營運的 商務用 Skype Online 將于 2023 年 10 月 1 日淘汰。 如果您尚未升級商務用 Skype線上使用者,系統會自動排程他們進行協助升級。 如果您想要將組織自行升級至 Teams,我們強烈建議您立即開始規劃升級路徑。 請記住,成功升級會使技術和使用者整備一致,因此請務必在您流覽 Teams 旅程時運用我們的 升級指導方針

商務用 Skype Online 已在 2021 年 7 月 31 日淘汰,但不包括由中國 21Vianet 所營運的服務。

若要搭配 商務用 Skype 和 Microsoft Teams 使用 Microsoft 365 或 Office 365 中的音訊會議,貴組織中的使用者必須獲指派音訊會議授權。 請參閱在 Microsoft 365 或 Office 365 中試用或購買音訊會議,以取得授權與費用的詳細資訊。

Microsoft 音訊會議提供撥入電話號碼、PIN 和會議 ID,可讓會議參與者加入貴組織的會議。 您只需要將 Microsoft 指派為音訊會議提供者,才能安排或引導商務用 Skype或 Microsoft Teams 會議的人員。

注意事項

我們會經常更新有關您如何管理商務用 Skype Online 中功能的內容,因此,此處所述的步驟可能會稍有不同。

將 Microsoft 指派為音訊會議提供者

顯示商務用 Skype標誌的圖示。使用商務用 Skype系統管理中心

  1. 移至Microsoft Teams 系統管理中心>舊版入口網站

  2. 商務用 Skype系統管理中心左側導覽中,移至[音訊會議]

  3. 如果您看到橫幅,通知您有一些使用者已獲指派 音訊會議 授權,但尚未將 Microsoft 設為音訊會議提供者,請單 擊 [按一下這裡] 來移動他們。 如果您沒有看到橫幅,請在商務用 Skype系統管理中心按一下 [使用者],然後選取[準備好要移至音訊會議篩選的使用者]

  4. 在使用者的屬性頁面上,于 [ 提供者名稱] 底下,選取下拉式清單中的 [Microsoft ]。

    注意事項

    由於您是使用 Microsoft 做為音訊會議提供者,而且有多個電話號碼,因此您可以使用 [預設付費電話號碼 ] 下拉式清單,為使用者選取預設的音訊號碼。

  5. 按一下 [儲存]

注意事項

我們會經常更新有關您如何管理商務用 Skype Online 中功能的內容,因此,此處所述的步驟可能會稍有不同。

為少數使用者使用Windows PowerShell腳本

若要節省時間或將這項作業自動化,您可以使用下列 PowerShell 腳本,將 Microsoft 設為少數使用者的音訊會議提供者。

注意事項

當提供者從另一個提供者變更為 Microsoft時,將會取代使用者 (會議 ID、付費和免付費電話號碼) 的音訊會議資訊。 您應該先儲存此資訊,再變更提供者。

若要針對少數使用者將提供者變更為 Microsoft,您可以使用 Enable-CsOnlineDialInConferencingUser Cmdlet。

為大量使用者使用Windows PowerShell腳本

若要節省時間或將這項作業自動化,您可以使用下列 PowerShell 腳本,將 Microsoft 設定為適用于大量使用者的音訊會議提供者。

當提供者從另一個提供者變更為 Microsoft時,將會取代使用者 (會議 ID、付費和免付費電話號碼) 的音訊會議資訊。 您應該先儲存此資訊,再變更提供者。

您可以將下列腳本儲存為 PowerShell 腳本檔案,然後使用任何輸入參數來執行。

範例 1: 您可以提供您要更新的使用者清單來執行此腳本。

Script.ps1 -UserList <List of users>
./Script.ps1 -UserList "user01@constoso.com, user02@contoso.com, user03@contoso.com"

範例 2: 您可以提供 .csv 檔案來執行此腳本,該檔案包含您要更新之每個使用者的電子郵件地址 (別名) 。

Script.ps1 -CsvFile <Path of the csv file>
./Script.ps1 -CsvFile ".\\CsvFile.csv"

範例 3: 在此範例中,您可以使用此腳本將音訊會議提供者從內部電話 (或其他提供者) 變更為 Microsoft ,以供貴組織中大量使用者使用。

Script.ps1 -ACPProviderName <Provider>
./Script.ps1 -ACPProviderName "Intercall"

腳本如下:

<#
.SYNOPSIS

This is a PowerShell script to set Microsoft as the audio conferencing provider of a set of users. It's required for applicable users to have a valid PSTN Conferencing license assigned before their provider is changed.

.DESCRIPTION
This is a PowerShell script to set Microsoft as the audio conferencing provider of a set of users. It's required for applicable users to have a valid PSTN Conferencing license assigned before their provider is changed.

.EXAMPLE

./Script.ps1 -UserList "user01@constoso.com, user02@contoso.com, user03@contoso.com"
./Script.ps1 -CsvFile ".\\CsvFile.csv"
./Script.ps1 -ACPProviderName ""Intercall""
#>
param (
[Parameter(Mandatory = $true, ParameterSetName = "CsvFile")]
 [string]$CsvFile,
 [Parameter(Mandatory = $true, ParameterSetName = "UserList")]
 [string]$UserList,
 [Parameter(Mandatory = $true, ParameterSetName = "ACPProviderName")]
[string]$ACPProviderName
)
if ($CsvFile)
{
if(!(Test-Path $CsvFile))
{
Write-Error "File does not exist."
Exit
 }
$users = Get-Content $CsvFile
}
if ($UserList)
{
$users = $UserList.Split(",")
}
if ($ACPProviderName)
{
$supportedACPProviders = Get-csAudioConferencingProvider
$providerNameMatch = $supportedACPProviders | ?{$_.Identity -eq $ACPProviderName}
if ($providerNameMatch -eq $null)
{
Write-Host "The provider name is not from a supported provider, please use any of the following values: "
$supportedACPProviders      | %{$_.Identity}
return
}
$allUsersInTenant = Get-csOnlineUser
$users =  $allUsersInTenant | ?{$_.AcpInfo -ne $null -and $_.ACPInfo.Name -eq $ACPProviderName}
}
Write-Host "Number of users to have their audio conferencing provider set to Microsoft: " $users.count
foreach ($user in $users)
{
if ($CsvFile -or $UserList)
{
try
{
$adUser = Get-csOnlineUser -Identity $user
}
catch
{
Write-Error "There was an exception while retrieving user: $user. "   $error[0].Exception.Message
Continue
}
}
else
{
$adUser = $user
}
if ($adUser -ne $null -and ($adUser.OnlineDialInConferencingPOlicy -ne $null))
{
if ($adUser.AcpInfo -eq $null -Or $adUser.AcpInfo.Name -ne "Microsoft")
{
try
{
$enableUser = Enable-CsOnlineDialInConferencingUser -Identity $adUser.ObjectId -Tenant $adUser.TenantId -ReplaceProvider
Write-Host "The provider of $user has changed to Microsoft."
$enableUser
}
catch
{
Write-Error "There was an exception while enabling user: $user. "  $error[0].Exception.Message
continue;
}
}
 else
{
Write-Warning "The provider of $user is already set to Microsoft."
}
}
else
            {
Write-Error "$user does not have valid Audio Conferencing license assigned."
}
}

如需使用 Windows PowerShell 的詳細資訊,請參閱使用Windows PowerShell執行線上管理商務用 Skype常見工作

在 Microsoft 365 或 Office 365中試用或購買音訊會議設定 商務用 Skype Online