Skip to content

Remove unsupported GPA content from GPA-excluded policy cmdlets (TeamsAppPermissionPolicy, TeamsUpgradePolicy)#13704

Open
d-chetan wants to merge 1 commit into
MicrosoftDocs:mainfrom
d-chetan:fix/remove-gpa-excluded-cmdlets
Open

Remove unsupported GPA content from GPA-excluded policy cmdlets (TeamsAppPermissionPolicy, TeamsUpgradePolicy)#13704
d-chetan wants to merge 1 commit into
MicrosoftDocs:mainfrom
d-chetan:fix/remove-gpa-excluded-cmdlets

Conversation

@d-chetan

Copy link
Copy Markdown
Contributor

Summary

Group policy assignment (GPA) is not supported for TeamsAppPermissionPolicy or TeamsUpgradePolicy (both are absent from the accepted values of Get-CsGroupPolicyAssignment -PolicyType and are listed as unsupported in the group policy assignment guidance). The Grant cmdlet reference pages still advertise a GrantToGroup parameter set with -Group and -Rank, which misleads admins into attempting group assignment that isn't supported.

Changes

Removed the GrantToGroup syntax block and the -Group and -Rank parameters from:

  • Grant-CsTeamsAppPermissionPolicy (MicrosoftTeams)
  • Grant-CsTeamsUpgradePolicy (MicrosoftTeams)
  • Grant-CsTeamsUpgradePolicy (SkypeForBusiness — duplicate reference page)

This mirrors the companion fix for Grant-CsDialoutPolicy (#13691) and the exclusion-list correction in New-CsGroupPolicyAssignment (#13692). Admins should continue to use per-user (-Identity) or tenant global (-Global) assignment for these policies.

Group policy assignment is not supported for TeamsAppPermissionPolicy or
TeamsUpgradePolicy, so remove the GrantToGroup parameter set and the -Group
and -Rank parameters from Grant-CsTeamsAppPermissionPolicy and
Grant-CsTeamsUpgradePolicy (both the MicrosoftTeams and SkypeForBusiness
reference pages).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@learn-build-service-prod

Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 0315387:

✅ Validation status: passed

File Status Preview URL Details
skype/skype-ps/SkypeForBusiness/Grant-CsTeamsUpgradePolicy.md ✅Succeeded View (skype-ps)
teams/teams-ps/MicrosoftTeams/Grant-CsTeamsAppPermissionPolicy.md ✅Succeeded View (teams-ps)
teams/teams-ps/MicrosoftTeams/Grant-CsTeamsUpgradePolicy.md ✅Succeeded View (teams-ps)

For more details, please refer to the build report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant