How to filter results from Security Tasks - List endpoint RRS feed

  • Question

  • I am trying to construct an OData filter for the Security Tasks - List endpoint and am either constructing invalid filters or encountering errors with the endpoint itself.

    The filters I'm applying are simple equality filters, e.g., to return the first item in the example response in the documentation:

    • name eq '62609ee7-d0a5-8616-9fe4-1df5cca7758d'
    • type eq 'Microsoft.Security/locations/tasks'
    • properties/state eq 'Active'
    • properties/securityTaskParameters/name eq 'NetworkSecurityGroupMissingOnSubnet'

    However, when I test these filters, substituting data for my subscription, I get the following response for all the examples above:

        "value": [],
        "nextLink": "nextLinkUrl"

    And following the continuation URL results in a 502 error:

        "error": {
            "code": "ProviderError",
            "message": "Resource provider 'Microsoft.Security' failed to return collection response for type 'tasks'."

    Is there something wrong with the way I am structuring my filters, a bug in the endpoint, or an unsupported feature?

    See also: 

    Thursday, July 18, 2019 4:26 PM

All replies

  • I am working with the internal team regarding this. I will get back to you with an update as soon as possible.
    Thursday, July 18, 2019 5:51 PM
  • Hi Manoj,

    Thank you for checking on this. Do you have any update on this from your internal team?

    Thursday, August 1, 2019 1:38 PM