Apply graph API online meeting creation via Application Access Policy to a security Groups

Suwani 75 Reputation points
2024-04-08T05:03:06.4266667+00:00

We have an integration setup with Graph API that leverages OnlineMeetings.ReadWrite.All Application-level scope so that practitioners can schedule Teams meetings through our platform. we have concluded the the Application-level scope instead of delegated.

We have a requirement to allow that permission ( CsApplicationAccessPolicy) only to a security group rather setting up for individual users.

From research, I've found that the CsApplicationAccessPolicy can either be granted globally or to specific users for Teams. Is there a way to assign the policy to a group instead of specific users? Alternatively, is there a way to restrict the integration/Graph API to work for specified groups only?

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.5K Reputation points MVP Volunteer Moderator
    2024-04-08T16:42:50.8433333+00:00

    The cmdlet supports group assignments via the -Group parameter, have you tried that? Alternatively, you can expand the membership of the Group and run it against each individual member:

    Get-MgGroupMember -GroupId xxxxxxx | select Id | % { Grant-CsApplicationAccessPolicy -Identity $_.Id -PolicyName "policy name" }
    
    

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.