Adding a category to an email using GraphAPI, understanding outlookCategory deprecated impact

Heena Tagree 0 Reputation points
2025-06-16T16:27:18.28+00:00

Hi Team,

We wish to create, update, delete categories for emails in our application that uses Microsoft Graph API. We found this document for the same : https://learn.microsoft.com/en-us/graph/api/resources/outlookcategory?view=graph-rest-1.0 However, it states that this is deprecated, could you please confirm what is the impact of this? Is there a sunset for this soon?

Additionally, we would like to attach categories to emails using the graph APIs, could you guide us to the document for the same?

Thank you.

Regards, Heena Tangree

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

1 answer

Sort by: Most helpful
  1. Carolyne-3676 296 Reputation points
    2025-06-17T11:34:13.68+00:00

    The deprecation notice indicates that the OutlookCategory resource is no longer recommended for use and may be removed in future updates. This means that while it may still function currently, it is advisable to transition to alternative methods to avoid disruptions when the resource is eventually sunset. Please consider using Update Message (Link to Documentation)to attach categories to emails using Microsoft Graph API, you can use the categories property of the message resource.

    0 comments No comments

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.