MIcrosoft graph Subscriptions

Hamza Jouini 70 Reputation points
2024-02-06T16:16:49.27+00:00

When creating a a subscription with a POST request to https://graph.microsoft.com/v1.0/subscriptions the Graph API response with success since it get the validation token on the callback and the subscription work fine but making a GET | PATCH to the subscription will return not found even a GET request to

https://graph.microsoft.com/v1.0/subscriptions

will retrurn an empty array that's wierd since the subscription is created a works

Microsoft Security | Microsoft Graph
Microsoft Teams | Microsoft Teams for business | Other
{count} votes

1 answer

Sort by: Most helpful
  1. Azizkhon Ishankhonov 540 Reputation points
    2024-02-06T18:20:34.63+00:00

    Hi Hamza Jouini

    Did you use same client and authentication token for POST and GET request? Please, make sure that you have same client and authentication token with similar scopes.

    For testing purpose please use Graph Explorer: Graph Explorer

    POST Request

    GET Request

    0 comments No comments

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.