Microsoft Teams 會議外掛讓 Google 行事曆使用者能直接從 Google Workspace 排程並加入 Microsoft Teams 會議。 這些用戶可使用包括視訊與語音會議、螢幕分享、會議聊天、數位白板等 Teams 會議功能。
Google Workspace 的 Microsoft Teams 會議外掛預設是開啟的。 想了解使用者如何使用 Microsoft Teams 會議外掛在 Google Workspace 上,請參閱「安裝 Microsoft Teams 會議外掛。
在 Azure 入口網站中開啟或關閉 Google Workspace 的 Microsoft Teams 會議外掛
作為管理員,你可以透過 Azure 入口網站開啟或關閉 Google Workspace 的 Microsoft Teams 會議外掛。
登入 Azure 入口網站。
選擇 企業應用程式>所有應用程式。
搜尋 Microsoft Teams 會議外掛 Google Workspace。
選擇 「是」。
(可選) 要停用該附加元件,請在步驟 4 中選擇 「否 」而非 「是 」。
使用 PowerShell 關閉 Google Workspace 的 Microsoft Teams 會議外掛
Connect-MgGraph -Scopes "Application.ReadWrite.All"
$displayName = 'Microsoft Teams meeting add-on for Google Workspace'
$appId = '7969c887-ba98-48bb-8832-6c9239929d7c'
檢查應用程式是否已經有服務主體
$ServicePrincipalUpdate =@{
"accountEnabled" = "false"
}
$servicePrincipal = Get-MgServicePrincipal -Filter "appId eq '$appId'"
if ($servicePrincipal) {
# Service principal exists already, disable it
Update-MgServicePrincipal -ServicePrincipalId $servicePrincipal.Id -BodyParameter $ServicePrincipalUpdate
Write-Host "Disabled existing Service Principal \n"
} else {
# Service principal does not yet exist, create it and disable it at the same time
$servicePrincipal = New-MgServicePrincipal -AppId $appId -DisplayName $displayName
Update-MgServicePrincipal -ServicePrincipalId $servicePrincipal.Id -BodyParameter $ServicePrincipalUpdate
Write-Host "Created and disabled the Service Principal \n"
}
欲了解更多資訊,請參閱 使用 Microsoft Graph PowerShell 建立服務主體。
在您的 Google Workspace 環境中允許外掛認證
如果你無法登入 Google Workspace 的 Microsoft Teams 會議外掛,請檢查你的 Google Workspace 安全設定是否允許存取該外掛。 請檢查從 Google Apps Script 存取的 URL 允許清單中是否包含外掛認證的網址: https://login.microsoftonline.com/*
刪除 Google Workspace 的 Microsoft Teams 會議外掛
請參閱 Google 文件「 刪除 Google Workspace Marketplace 應用程式 」以獲得說明。
使用 PowerShell 建立 Microsoft Teams 會議外掛 Google Workspace
如果您的租戶中沒有 Microsoft Teams 會議外掛,您可以使用 PowerShell 建立它:
Connect-MgGraph -Scopes "Application.ReadWrite.All"
$displayName = 'Microsoft Teams meeting add-on for Google Workspace'
$appId = '7969c887-ba98-48bb-8832-6c9239929d7c'
# Check if a service principal already exists for the app
$servicePrincipal = Get-MgServicePrincipal -Filter "appId eq '$appId'"
if ($servicePrincipal) {
# Service principal exists already
Write-Host "The Service principal already exists"
} else {
# Service principal does not yet exist, create it
New-MgServicePrincipal -AppId $appId -DisplayName $displayName
Write-Host "Created the Service Principal"
}