Forum Discussion
upfaffer
Nov 22, 2021Copper Contributor
TeamsApp Permission Policy assign to Security Group
Hello, need a solid way to assign Teams App Permission Policy to a set of security groups. There are some hints, but they doesn't work for me like: $group = Get-AzureADGroup -SearchString "G...
upfaffer81
Nov 22, 2021Copper Contributor
Where i get this SIP Adress?
The mapping should be dynamic, a export of the SIP ID and assigne to the Permission does not help. If found this workaround already in googlesearch
The mapping should be dynamic, a export of the SIP ID and assigne to the Permission does not help. If found this workaround already in googlesearch
StevenC365
Nov 22, 2021MVP
It is not possible to have a dynamic assignment of a App Permission Policy to a group.
This script fetches all the member of a group then assigns those members to a policy, it's not dynamic and would only work with the groups member at the time you ran the script. The cmdlet its using accepts a list of SIP addresses, most companies match these to their email and upn, but it doesn't need to be. If it's not going to match I would be creating a loop in the script to find the SIP address of each user etc. Much longer process.
It doesn't' sound like it'll meet your requirement anyway, as I said before it's better to minimize the need to assign App Permission Policies.
- upfafferNov 28, 2021Copper ContributorThx but this not help in complex companies 😉