Jan 31 2021 11:38 AM
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 is also well documented. Actually I working with a workaround - with powershell and the azure and the teams module.
Is this still in work? Because when I verify a user - I can also see that the policy is then direct attached, but there is also the information "attached from group". But this is not working, or is there any documentation out there for this?
Jan 31 2021 12:49 PM
SolutionHi,
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
Jan 31 2021 01:04 PM
@TheM365Guy Hi, just to add to the above it's also mentioned in the docs.
"Currently, policy assignment to groups using the Microsoft Teams admin center is only available for Teams calling policy, Teams call park policy, Teams policy, Teams live events policy, Teams meeting policy, and Teams messaging policy. For other policy types, use PowerShell."
The type of the policy to be assigned. Possible values:
https://docs.microsoft.com/en-us/powershell/module/teams/new-csgrouppolicyassignment?view=teams-ps
Jan 31 2021 10:41 PM
May 25 2021 03:45 AM - edited May 25 2021 11:37 AM
May 25 2021 03:45 AM - edited May 25 2021 11:37 AM
What I did in Powershell was
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
Jun 08 2021 12:52 PM
Jun 08 2021 01:17 PM
Jan 21 2022 08:19 AM
Jan 31 2021 12:49 PM
SolutionHi,
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