none
Microsoft Graph Api

    Question

  • Hi,

    I'm trying to build a filter for users api on collection provisionedPlans but I do not manage. The error is:


    x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"West US","Slice":"SliceB","ScaleUnit":"002","Host":"AGSFE_IN_7","ADSiteName":"WST"}}
    duration: 7.2098
    client-request-id: 4370e2f1-8634-4ef7-8753-74ab8224d946
    content-type: application/json
    access-control-allow-origin: https://developer.microsoft.com
    access-control-expose-headers: Cache-Control, Content-Type, request-id, client-request-id, x-ms-ags-diagnostic, Access-Control-Allow-Origin, Access-Control-Expose-Headers, Duration, X-FE-DATA
    cache-control: private
    request-id: 4370e2f1-8634-4ef7-8753-74ab8224d946
    Status Code: 400
    {
        "error": {
            "code": "BadRequest",
            "message": "Filter not supported.",
            "innerError": {
                "request-id": "4370e2f1-8634-4ef7-8753-74ab8224d946",
                "date": "2017-03-29T19:17:06"
            }
        }
    }

    The filter is: https://graph.microsoft.com/beta/users?$filter=provisionedPlans/all(c: c/service eq 'MicrosoftCommunicationsOnline') 

    Filter is tested in graph-explorer.

    Can help me with correct syntax?

    Bogdan 


    Wednesday, March 29, 2017 7:19 PM

All replies