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
Outlook
A family of Microsoft email and calendar products.
3,118 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,839 questions
{count} vote

1 answer

Sort by: Most helpful
  1. SokiGuo-MSFT 24,126 Reputation points Microsoft Vendor
    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