Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get `singleValueExtendedProperties` for MS Graph v1.0 delta queries?

I'm trying to $expand on singleValueExtendedProperties for a delta query on my messages, but I'm getting an odd error.

Delta query

https://graph.microsoft.com/v1.0/me/mailFolders/Inbox/messages/delta?$expand=singleValueExtendedProperties($filter=id eq 'String 0x007D')

Response

{
    "error": {
        "code": "InternalServerError",
        "message": "Value cannot be null.\r\nParameter name: type",
        "innerError": {
            "request-id": "d7cf6c83-a062-4051-85b4-30a5aadf2e65",
            "date": "2017-10-06T10:05:10"
        }
    }
}

The documentation says this is supported. I've also verified (via the GraphAPI explorer) that:

  1. the non-delta version of the query works with singleValueExtendedProperties
  2. the delta version works without singleValueExtendedProperties

Is this a bug in the API or expected behavior? I know I can follow up with multiples GETs to pull the desired extended properties, but I'd rather avoid spawning several requests if I can get away with one.

like image 865
chris Avatar asked Nov 07 '22 15:11

chris


1 Answers

There is limited support for the $filter query parameter on messages/delta. From the documentation:

The only supported $filter expresssions are $filter=receivedDateTime+ge+{value} or $filter=receivedDateTime+gt+{value}.

like image 134
Marc LaFleur Avatar answered Dec 04 '22 13:12

Marc LaFleur