Commands › Microsoft Teams
Set-CsTeamsEducationAssignmentsAppPolicy
This policy is controlled by Global and Teams Service Administrators, and is used to turn on/off certain features only related to the Assignments Service, which runs for tenants with EDU licenses.
Quick start script
# Set-CsTeamsEducationAssignmentsAppPolicy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId
# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-CsTeamsEducationAssignmentsAppPolicy
$before | Format-List
# 3. Make the change (dry run first)
Set-CsTeamsEducationAssignmentsAppPolicy -WhatIf
Set-CsTeamsEducationAssignmentsAppPolicy
# 4. Verify and diff
$after = Get-CsTeamsEducationAssignmentsAppPolicy
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax — 2 parameter sets
Identity (Default)
Set-CsTeamsEducationAssignmentsAppPolicy [-Tenant <System.Guid>] [-ParentDigestEnabledType <String>]
[-MakeCodeEnabledType <String>] [-TurnItInEnabledType <String>] [-TurnItInApiUrl <String>]
[-TurnItInApiKey <String>] [[-Identity] <XdsIdentity>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
Instance
Set-CsTeamsEducationAssignmentsAppPolicy [-Tenant <System.Guid>] [-ParentDigestEnabledType <String>]
[-MakeCodeEnabledType <String>] [-TurnItInEnabledType <String>] [-TurnItInApiUrl <String>]
[-TurnItInApiKey <String>] [-Instance <PSObject>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters (11)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.