Skip to main content
05 Oktober, 2023

Teams Anwesenheitsstatus für Gäste blockieren

05 Oktober, 2023

Dieses Powershell Script blockiert Ihren Teams Anwesenheitsstatus ausserhalb Ihres Microsoft 365 Tenants. Wenn Gäste Sie per Teams Chat anschreiben wollen, sehen diese Ihren aktuellen Teams Status. nicht.

Öffnen Sie Powershell (Admin)

# Install Microsoft Teams PowerShell Module
Install-Module MicrosoftTeams
​
# Connect to MS Teams
Connect-MicrosoftTeams
​
# Check EnablePrivacyMode
# By Default its value is set as False
Get-CsPrivacyConfiguration | Select-Object EnablePrivacyMode
​
# Set EnablePrivacyMode to True
Set-CsPrivacyConfiguration -EnablePrivacyMode $true
​
#Status überprüfen: 
Get-CsPrivacyConfiguration | Select-Object EnablePrivacyMode

Nach erfolgreichen Ausführung, dauert es ca 6 Stunden bis Ihr Teams Status für Gäste deaktiviert ist.

Lukasz
Lukasz
Cloud Engineer