You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an issue while attempting to create a subscription to receive change notifications, including resource data, in the Microsoft Graph API. Here's the payload I'm using:
However, upon sending a POST request with this payload, I'm encountering the following error message:
$top, $skip, $orderby, $select=body,uniqueBody and $expand other than singleValueExtendedProperties,multiValueExtendedProperties are not supported in subscription resource Url.
This error suggests that including $select=body in the resource URL is not permitted. If I exclude $select=body, I encounter a different error:
"select clause should be present in query string to support rich notifications"
This indicates that a select clause is required in the query string to support rich notifications.
Additionally, when I attempted to use $select=bodyPreview, I only received a truncated version of the body limited to 255 characters.
My objective is to receive change notifications including the entire body of the resource. I'm seeking guidance on how to achieve this.
Description
I'm encountering an issue while attempting to create a subscription to receive change notifications, including resource data, in the Microsoft Graph API. Here's the payload I'm using:
However, upon sending a POST request with this payload, I'm encountering the following error message:
This error suggests that including
$select=body
in the resource URL is not permitted. If I exclude$select=body
, I encounter a different error:This indicates that a
select
clause is required in the query string to support rich notifications.Additionally, when I attempted to use
$select=bodyPreview
, I only received a truncated version of the body limited to 255 characters.My objective is to receive change notifications including the entire body of the resource. I'm seeking guidance on how to achieve this.
I also created a post on StackOverFlow : https://stackoverflow.com/questions/78057126/select-body-not-working-while-creating-subscription-microsoft-graph-api
The text was updated successfully, but these errors were encountered: