How to get event category color if I have delegate access to calendar but don't have MailboxSettings.Read

Austin 5 Reputation points
2023-10-01T04:19:24.0733333+00:00

As a delegate, I can see event category colors in Outlook desktop, but not via Microsoft Graph API. When I use the /calendarView endpoint, the events only have event category displayName but doesn't include the color.

How can I fetch the color and all of the event categories without having MailboxSettings.Read?

Outlook | Windows | Classic Outlook for Windows | For business
Microsoft Security | Microsoft Graph
{count} vote

1 answer

Sort by: Most helpful
  1. SokiGuo-MSFT 31,711 Reputation points Microsoft External Staff
    2023-10-02T07:14:01.1466667+00:00

    Hi @Austin

    Welcome to our forum!

    Please kindly understand that the Outlook tag here we mainly focus on general issues about Outlook desktop client. According to your description, it seems to be about Graph. We're not very familiar with the Graph API. The following is for informational purposes only.


    As far as I know, as a delegate to view the mailbox owner's color categories, the mailbox owner needs to assign you at least “Can view all details” permissions (Microsoft 365 Exchange Online) or “Reviewer” permissions (Exchange on-premises).

    Reference Articles: https://www.msoutlook.info/question/color-categories-in-shared-and-delegate-calendars.

    (Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.)

    Hope this helps!


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

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.