Microsoft Graph API to List Windows Update catalog entries does not work

Rajeev Singh 0 Reputation points
2024-04-18T06:25:21.2366667+00:00

Hello,

I am trying to use the the following Microsoft graph API to list catalog entries in the graph API explorer

https://graph.microsoft.com/beta/admin/windows/updates/catalog/entries

But, I get the following error

{
    "error": {
        "code": "UnknownError",
        "message": "",
        "innerError": {
            "date": "2024-04-18T06:16:09",
            "request-id": "91c8ba1e-38b4-495d-8f2c-f3b9c957848a",
            "client-request-id": "6af98a41-bd8d-34f3-73b8-d010342aed0a"
        }
    }
}


I have already given consent for the permission WindowsUpdates.ReadWrite.All . Attached a screenshot of the permission tab.

Screenshot 2024-04-18 at 11.49.23 AM

And, I also have the trial subscription for Microsoft 365 Business premium. I can see WINDOWSUPDATEFORBUSINESS_DEPLOYMENTSERVICE in the subscribedSkus. Attached a screenshot for this too.

Screenshot 2024-04-18 at 11.51.34 AM

Has anyone faced this issue?

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

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 36,976 Reputation points
    2024-04-18T09:05:12.78+00:00

    Hi @Rajeev Singh

    You also need to ensure that the logged in user has one of the Global Administrator, Intune Administrator, or Windows Update Deployment Administrator roles.

    User's image

    Here are the licenses I have:

    User's image

    Hope this helps.

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

    0 comments No comments