SOLVED

App Setup Policy - Assign to a group

%3CLINGO-SUB%20id%3D%22lingo-sub-2109431%22%20slang%3D%22en-US%22%3EApp%20Setup%20Policy%20-%20Assign%20to%20a%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2109431%22%20slang%3D%22en-US%22%3E%3CP%3EHey%20guys%2C%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20confused%20a%20little%20bit%20-%20I%20could%20not%20found%20any%20solutions%20to%20assign%20a%20%22app%20setup%20policy%22%20to%20a%20AAD%20group.%20I%20just%20found%20under%20%22meeting%20policies%22%20-%20the%20tab%20%22group%20policy%20assignment%22%20this%20is%20also%20well%20documented.%20Actually%20I%20working%20with%20a%20workaround%20-%20with%20powershell%20and%20the%20azure%20and%20the%20teams%20module.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20this%20still%20in%20work%3F%20Because%20when%20I%20verify%20a%20user%20-%20I%20can%20also%20see%20that%20the%20policy%20is%20then%20direct%20attached%2C%20but%20there%20is%20also%20the%20information%20%22attached%20from%20group%22.%20But%20this%20is%20not%20working%2C%20or%20is%20there%20any%20documentation%20out%20there%20for%20this%3F%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2109431%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETips%20%26amp%3B%20Tricks%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2109648%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Setup%20Policy%20-%20Assign%20to%20a%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2109648%22%20slang%3D%22en-US%22%3EThis%20was%20my%20problem!%20I%20searched%20for%20the%20%22policytype%22%20and%20I%20could%20not%20found%20this%20information%20%3A)%3C%2Fimg%3E%20%22TeamsAppSetupPolicy%22%20-%20thanks%20to%20you!!!%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2109466%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Setup%20Policy%20-%20Assign%20to%20a%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2109466%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F815951%22%20target%3D%22_blank%22%3E%40TheM365Guy%3C%2FA%3E%26nbsp%3BHi%2C%20just%20to%20add%20to%20the%20above%20it's%20also%20mentioned%20in%20the%20docs.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%22Currently%2C%20policy%20assignment%20to%20groups%20using%20the%20Microsoft%20Teams%20admin%20center%20is%20only%20available%20for%20Teams%20calling%20policy%2C%20Teams%20call%20park%20policy%2C%20Teams%20policy%2C%20Teams%20live%20events%20policy%2C%20Teams%20meeting%20policy%2C%20and%20Teams%20messaging%20policy.%20For%20other%20policy%20types%2C%20use%20PowerShell.%22%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fassign-policies%23using-the-microsoft-teams-admin-center-2%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fassign-policies%23using-the-microsoft-teams-admin-center-2%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22parameterName%20stack%22%3E-PolicyType%3C%2FDIV%3E%3CDIV%20class%3D%22parameterInfo%22%3E%3CP%3EThe%20type%20of%20the%20policy%20to%20be%20assigned.%20Possible%20values%3A%3C%2FP%3E%3CUL%3E%3CLI%3ECallingLineIdentity%3C%2FLI%3E%3CLI%3E%3CSTRONG%3ETeamsAppSetupPolicy%3C%2FSTRONG%3E%3C%2FLI%3E%3CLI%3ETeamsCallingPolicy%3C%2FLI%3E%3CLI%3ETeamsCallParkPolicy%3C%2FLI%3E%3CLI%3ETeamsChannelsPolicy%3C%2FLI%3E%3CLI%3ETeamsComplianceRecordingPolicy%3C%2FLI%3E%3CLI%3ETenantDialPlan%3C%2FLI%3E%3CLI%3ETeamsEducationAssignmentsAppPolicy%3C%2FLI%3E%3CLI%3ETeamsMeetingBroadcastPolicy%3C%2FLI%3E%3CLI%3ETeamsMeetingPolicy%3C%2FLI%3E%3CLI%3ETeamsMessagingPolicy%3C%2FLI%3E%3CLI%3ETeamsShiftsPolicy%3C%2FLI%3E%3CLI%3ETeamsUpdateManagementPolicy%3C%2FLI%3E%3C%2FUL%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fteams%2Fnew-csgrouppolicyassignment%3Fview%3Dteams-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fteams%2Fnew-csgrouppolicyassignment%3Fview%3Dteams-ps%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2109461%22%20slang%3D%22en-US%22%3ERe%3A%20App%20Setup%20Policy%20-%20Assign%20to%20a%20group%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2109461%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI've%20not%20tested%20to%20assign%20the%20App%20Setup%20policy%20with%20to%20a%20group%20but%20it%20should%20be%20possible%20with%20PowerShell.%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fteams%2Fnew-csgrouppolicyassignment%3Fview%3Dteams-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ENew-CsGroupPolicyAssignment%20(MicrosoftTeamsPowerShell)%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3Eex.%26nbsp%3B%3CEM%3E%3CSPAN%20class%3D%22hljs-pscommand%22%3ENew-CsGroupPolicyAssignment%3C%2FSPAN%3E%3CSPAN%20class%3D%22hljs-parameter%22%3E%20-GroupId%3C%2FSPAN%3E%20salesdepartment%40contoso.com%3CSPAN%20class%3D%22hljs-parameter%22%3E%20-PolicyType%3C%2FSPAN%3E%20TeamsAppSetupPolicy%26nbsp%3B%3CSPAN%20class%3D%22hljs-parameter%22%3E-PolicyName%3C%2FSPAN%3E%20AppPolicyName%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

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? 

3 Replies
Best Response confirmed by TheM365Guy (Contributor)
Solution

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 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."

https://docs.microsoft.com/en-us/microsoftteams/assign-policies#using-the-microsoft-teams-admin-cent... 

 

-PolicyType

The type of the policy to be assigned. Possible values:

  • CallingLineIdentity
  • TeamsAppSetupPolicy
  • TeamsCallingPolicy
  • TeamsCallParkPolicy
  • TeamsChannelsPolicy
  • TeamsComplianceRecordingPolicy
  • TenantDialPlan
  • TeamsEducationAssignmentsAppPolicy
  • TeamsMeetingBroadcastPolicy
  • TeamsMeetingPolicy
  • TeamsMessagingPolicy
  • TeamsShiftsPolicy
  • TeamsUpdateManagementPolicy

 

https://docs.microsoft.com/en-us/powershell/module/teams/new-csgrouppolicyassignment?view=teams-ps 

 

 

This was my problem! I searched for the "policytype" and I could not found this information :) "TeamsAppSetupPolicy" - thanks to you!!!