Can we create and grant CsApplicationAccessPolicy for a group?

Ramyapriya Pasula 20 Reputation points
2025-01-29T08:09:41.06+00:00

Like how we create for a users,
https://learn.microsoft.com/en-us/graph/cloud-communication-online-meeting-application-access-policy

Grant-CsApplicationAccessPolicy -PolicyName Policy_1 -Identity "aba02ce6-6d5d-473a-953d-23ad256dcffe"

Can we create and grant policy for a group ? Can we do like this
Grant-CsApplicationAccessPolicy -PolicyName Policy_1 -GroupId "{{GroupId}}"

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,768 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,920 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,524 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Rajat Vashistha-MSFT 280 Reputation points Microsoft Vendor
    2025-01-29T08:24:57.2366667+00:00

    Hi Ramyapriya Pasula,

    Thank you for reaching out to Microsoft!

    Unfortunately, the Grant-CsApplicationAccessPolicy cmdlet does not support directly assigning policies to groups. It is designed to assign policies to individual users only.

    Graph API can work either on delegated permission or Application-level permissions. However, you can limit application permissions to a specific group by creating a New-ApplicationAccessPolicy. This method should satisfy your requirement.

    For more information, please refer to the following documentation: Limiting application permissions to specific Exchange Online mailboxes

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.


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.