Remove unsupported GPA content from GPA-excluded policy cmdlets (TeamsAppPermissionPolicy, TeamsUpgradePolicy)#13704
Open
d-chetan wants to merge 1 commit into
Open
Conversation
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>
Contributor
|
Learn Build status updates of commit 0315387: ✅ Validation status: passed
For more details, please refer to the build report. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Group policy assignment (GPA) is not supported for
TeamsAppPermissionPolicyorTeamsUpgradePolicy(both are absent from the accepted values of Get-CsGroupPolicyAssignment-PolicyTypeand are listed as unsupported in the group policy assignment guidance). The Grant cmdlet reference pages still advertise aGrantToGroupparameter set with-Groupand-Rank, which misleads admins into attempting group assignment that isn't supported.Changes
Removed the
GrantToGroupsyntax block and the-Groupand-Rankparameters 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 inNew-CsGroupPolicyAssignment(#13692). Admins should continue to use per-user (-Identity) or tenant global (-Global) assignment for these policies.