How to expand singleValueExtendedProperties on messages delta query?
santnerin
5
Reputation points
I'm trying to expand singleValueExtendedProperties on a messages delta query without success. I'm getting the following error message: "Parsing OData Select and Expand failed: Value cannot be null. (Parameter 'initialState')"
Here is my code snippet:
await graphClient.Me.MailFolders[mailFolder].Messages.Delta.GetAsDeltaGetResponseAsync(config => {
config.QueryParameters.Select = ["internetMessageId, toRecipients, ccRecipients, singleValueExtendedProperties"];
config.QueryParameters.Filter = $"receivedDateTime ge {date}";
config.QueryParameters.Expand = new[] { "singleValueExtendedProperties($filter=id eq 'String {xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx} Name xxx')" };
}
What's wrong with my request or is expanding singleValueExtendedProperties on delta queries not supported?
Sign in to answer