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

astro 40 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.
10,151 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,056 questions
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 106.3K 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

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.