Forum Discussion
TheM365Guy
Jan 31, 2021Brass Contributor
App Setup Policy - Assign to a group
Hey guys, I am confused a little bit - I could not found any solutions to assign a "app setup policy" to a AAD group. I just found under "meeting policies" - the tab "group policy assignment" this ...
- Jan 31, 2021
Hi,
I've not tested to assign the App Setup policy with to a group but it should be possible with PowerShell.
New-CsGroupPolicyAssignment (MicrosoftTeamsPowerShell) | Microsoft Docs
ex. New-CsGroupPolicyAssignment -GroupId salesdepartment@contoso.com -PolicyType TeamsAppSetupPolicy -PolicyName AppPolicyName
TheM365Guy
Feb 01, 2021Brass Contributor
This was my problem! I searched for the "policytype" and I could not found this information 🙂 "TeamsAppSetupPolicy" - thanks to you!!!
Martin van der Harst Cloud
May 25, 2021Copper Contributor
What I did in Powershell was
New-CsGroupPolicyAssignment -GroupId acb3174d-669c-4cc0-9d97-5844f7b9fcb8 -PolicyType TeamsAppSetupPolicy -PolicyName DigipleinMedewerkers
but I get an error and I don't know what to do with that. Do you have an idea?
but I get an error and I don't know what to do with that. Do you have an idea?
[21-5 11:58] Martin van der Harst
Text
New-CsGroupPolicyAssignment : One or more errors.At line:1 char:1+ New-CsGroupPolicyAssignment -GroupId acb3174d-669c-4cc0-9d97-5844f7b9 ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [New-CsGroupPolicyAssignment_NewExpanded], CmdletInvocationException + FullyQualifiedErrorId : Microsoft.Teams.ConfigAPI.Cmdlets.Generated.Cmdlets.NewCsGroupPolicyAssignment_NewExpanded