Azure Active Directory workload is not enabled for rich notifications for application clientID

Sohil Gogri 0 Reputation points
2025-03-19T13:21:39.5366667+00:00

Hi,

We're trying to call the subscribe graph API to create a new subscription with change notifications enabled but for some reason when we try to create the subscription we get the error "Azure Active Directory workload is not enabled for rich notifications for application clientID(replaced actual clientID here)". The request we're sending is

	{
		ChangeType:      "created",
		NotificationURL: "eventhub_url",
		Resource:             "users/student_id_value/messages$select=body,from,id,subject,toRecipients",
		ExpirationTime:        seven_day_future_time,
		ClientState:           "secretClientValue",
		IncludeResourceData:   true,
		EncryptionCertificate: "some_certificate,
	}
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,487 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Saranya Madhu-MSFT 2,295 Reputation points Microsoft External Staff
    2025-03-20T03:57:47.7833333+00:00

    Hi Sohil Gogri,

    Thanks for reaching out to Microsoft!

    As per Microsoft documentation, Rich notifications are set up in the same way as basic change notifications, except you must specify the following properties: includeResourceData , encryptionCertificate , encryptionCertificateId .

    Note: Resource property specifies the resource URL. Make sure to use the $select query parameter to explicitly specify the Outlook resource properties to include in the notification payload

    Do not include in the URL $top, $skip, $orderby, $select=Body,UniqueBody, and $expand other than singleValueExtendedProperties or multiValueExtendedProperties.

    Include resource data in notification payload

    Hope this helps.

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

                                                                                                                                                 


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.