Graph Api Subscription List Empty

Lucas Prioste 31 Reputation points
2022-06-13T13:11:21.167+00:00

When I try to get the subscription list via the link https://graph.microsoft.com/v1.0/subscriptions/ I always get an empty response. But if you make the request using the id of a subscription, the response comes as expected. I can't understand why the answer in the list is empty, because I'm sure there are subscriptions. Please Help

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,273 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,341 questions
{count} votes

7 answers

Sort by: Most helpful
  1. Clements 11 Reputation points
    2022-06-15T09:18:05.87+00:00

    you can use the pagination and eventually you will find them, but you can get around 30 empty pages before so if you are using postman is probably a bit anoying

    1 person found this answer helpful.

  2. Prasad-MSFT 6,881 Reputation points Microsoft Vendor
    2022-06-24T06:33:11.993+00:00

    Update:

    Tried running the query now, and getting desired results.

    1. Create Subscription: 214672-image.png 2.Get Subscription: 214636-image.png

    Please do verify

    1 person found this answer helpful.

  3. Prasad-MSFT 6,881 Reputation points Microsoft Vendor
    2022-06-13T14:53:04.81+00:00

    We are able to repro the issue. By querying below request, we are also getting empty result.

    210922-image.png

    We have raised a bug for this issue . We will inform you once we get any update from engineering team .

    Thanks,

    Prasad Das


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.


  4. Slobodan Stanic 1 Reputation point
    2022-06-15T20:46:47.133+00:00

    I am also trying to figure this out for the past few hours but I also remember that this was broken a few months ago when I was trying to make it work as well.

    0 comments No comments

  5. Quinten Van den Berghe 1 Reputation point
    2022-06-17T09:02:04.813+00:00

    We got the exact same issue here also. This used to work fine, all of a sudden listing subscriptions returns an empty array. I did some research and it seems this is something that has been reported several times.


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.