Grant-CsApplicationAccessPolicy PS command doesn't work

Maksym Rossiitsev 1 Reputation point

I'm using Azure application to access MS Graph API endpoints on multiple accounts for some time.

But, for some reason, I can't make Grant-CsApplicationAccessPolicy work on one of the applications, to grant access to Online Meetings API (using Java SDK for that).

Even after I execute the commands in the order, provided by the documentation:


New-CsApplicationAccessPolicy -Identity MeetingsPolicy -AppIds "af2d5b07-xxxx-xxxx-xxxx-284d936c063a" -Description "new meetings policy"

Grant-CsApplicationAccessPolicy -PolicyName MeetingsPolicy -Global

It still gives me a "No application access policy found for this app." error:

x-ms-ags-diagnostic : {"ServerInfo":{"DataCenter":"Central US","Slice":"E","Ring":"2","ScaleUnit":"002","RoleInstance":"DS3PEPF00001666"}}
  "error": {
    "code": "General",
    "message": "No application access policy found for this app.",
    "innerError": {
      "request-id": "4129063a-e355-4179-8552-b1490e7f363c",
      "date": "2023-11-01T17:37:49",
      "client-request-id": "efa28c6c-993f-43cf-9841-3347792478aa"

What I have tried so far:

  • Recreated an application from scratch
  • Waited for 24 hours after assigning access policies
  • Recreated client secrets
  • Granted extra permissions and roles to the user on behalf of which PS commands are executed
  • Repeated the process

Is there anything I can do to fix it?

Thank you

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
9,055 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vasil Michev 85,006 Reputation points MVP

    Looks like a backend issue, likely some sync needs to happen. Best open a support case.

    0 comments No comments