Commands › Microsoft Teams

Grant-CsTeamsPersonalAttendantPolicy

Microsoft Teams MicrosoftTeams Grant-*

**Limited Preview:** Functionality described in this document is currently in limited preview and only authorized organizations have access. Assigns a specific Teams Personal Attendant Policy to a user, a group of users, or sets the Global policy instance.

Quick start script

# Grant-CsTeamsPersonalAttendantPolicy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Run and inspect
Grant-CsTeamsPersonalAttendantPolicy -Group <String> | Format-List

# 3. Export for evidence / drift tracking
Grant-CsTeamsPersonalAttendantPolicy | Export-Clixml .\CsTeamsPersonalAttendantPolicy-$(Get-Date -Format yyyyMMdd).xml

Syntax

Grant-CsTeamsPersonalAttendantPolicy [-Identity <string>] [-PolicyName <string>] [-PassThru] [-Global] [-Rank <int>] [<CommonParameters>]

Parameters (6)

ParameterTypeRequiredWhat it controls
-Identity String The user object to whom the policy is being assigned.
-PolicyName String The name of the policy being assigned. To remove an existing user level policy assignment, specify PolicyName as $null.
-PassThru SwitchParameter Enables you to pass a user object through the pipeline that represents the user being assigned the policy. By default, the Grant-CsTeamsPersonalAttendantPolicy cmdlet does not pass objects through the pipeline.
-Global SwitchParameter Sets the parameters of the Global policy instance to the values in the specified policy instance.
-Group String yes Specifies the group used for the group policy assignment.
-Rank Int32 The rank of the policy assignment, relative to other group policy assignments for the same policy type.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.