針對Google Workspace 設定Microsoft Teams會議附加元件
Microsoft Teams 會議附加元件可讓 Google 日曆使用者直接從 Google Workspace 排程並加入Microsoft Teams 會議。 這些功能可存取 Teams 會議功能,包括視訊和音訊會議、螢幕共用、會議聊天、數位白板等等。
Google Workspace 的 Microsoft Teams 會議附加元件預設為開啟。 若要瞭解您的使用者如何使用適用於Google Workspace的 Microsoft Teams 會議附加元件,請參閱 安裝適用於Google Workspace 的 Microsoft Teams 會議附加元件。
在 Azure 入口網站 中開啟或關閉 Google Workspace Microsoft Teams 會議附加元件
身為系統管理員,您可以使用 Azure 入口網站 開啟或關閉 Google Workspace Microsoft Teams 會議附加元件。
登入 Azure 入口網站。
選取 [企業應用程式>所有應用程式]。
搜尋 Microsoft Google Workspace 的Teams會議附加元件。
選取 [是]。
(選用) 若要停用附加元件,請在步驟 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的 Microsoft Teams 會議附加元件
如需相關指示,請參閱 Google 檔刪除 Google Workspace Marketplace 應用程式 。
使用 PowerShell 建立 Google Workspace Microsoft Teams 會議附加元件
如果您的租用戶沒有 Teams 會議附加元件Microsoft,您可以使用 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"
}