How to view which users a teams application access policy is assigned to?

astro 0 Reputation points
2023-09-14T13:25:41.7+00:00

Following this doc to setup application access to online meetings is fairly simple https://learn.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy . But once an application access policy is created, how do I find out which users it's been assigned to? I can see how to get a list of policies and the app ID's that they're associated with, but not the users they're targeted at.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
7,660 questions
Microsoft Graph Teamwork API
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 79,546 Reputation points MVP
    2023-09-14T16:50:58.57+00:00

    You can use the same methods as for other policy types. For example, list all users and their assigned application access policy via:

    Get-CsOnlineUser | select DisplayName,UserPrincipalName,ApplicationAccessPolicy

    Or, filter out just the users with specific policy assigned:

    Get-CsOnlineUser -Filter {ApplicationAccessPolicy -eq "ASimplePolicy"} | select DisplayName,UserPrincipalName,ApplicationAccessPolicy