Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't access /outlook/masterCategories endpoint in Microsoft Graph's API

It seems any endpoints starting starting with /outlook return this error:

GET https://graph.microsoft.com/beta/me/outlook/masterCategories
{
    "error": {
        "code": "RequestBroker-ParseUri",
        "message": "Resource not found for the segment 'Outlook'.",
        "innerError": {
            "request-id": "a75d1c9a-c6ae-4b69-83ca-fc0e467a4ad7",
            "date": "2017-12-26T17:23:17"
        }
    }
}

I have authorized the scopes mail.read user.read mailboxsettings.readwrite so I should be able to access a user's inbox categories, but the beta API endpoints starting with "outlook" mentioned in this post:

https://blogs.msdn.microsoft.com/exchangedev/2017/10/09/new-outlook-apis-in-the-microsoft-graph-rooms-rules-categories-headers-and-time-zones/

are not accessible whatsoever, am I doing something wrong?

Keep in mind I tested this endpoint and it works perfectly: https://graph.microsoft.com/beta/me/mailFolders

but this one: https://graph.microsoft.com/beta/me/outlook/masterCategories returns the error above.

like image 341
CodeOverload Avatar asked Dec 26 '17 17:12

CodeOverload


People also ask

Which of the following is not supported by Microsoft Graph endpoints exposed by Azure AD?

Managing users' photos through the profilePhoto resource of the Microsoft Graph API is currently not supported in Azure AD B2C tenants.

How do I grant access to graph explorer?

You can consent to permissions in Graph Explorer by choosing either the Modify permissions tab or the Consent to permissions option under the profile avatar when you're signed in.

What is Microsoft Graph API endpoint?

Microsoft Graph API Use REST APIs and SDKs to access a single endpoint that provides access to rich, people-centric data and insights in the Microsoft Cloud.


1 Answers

I'm afraid the /beta documentation is a bit ahead of the /beta code itself. Currently the beta/me/outlook/ endpoints (including /masterCategories) do not support MSA/Personal accounts.

I've been unable to definitively confirm if/when support is forthcoming (not all that surprising given the time of year), so I'm afraid I don't have an ETA on when this might roll out.

like image 62
Marc LaFleur Avatar answered Nov 15 '22 14:11

Marc LaFleur