Why does the Group filter "hasMembersWithLicenseErrors" not work anymore?

Macioszek, Nico 21 Reputation points
2021-11-24T14:58:02.27+00:00

Hello,

The example in this documentation states, that groups can be filtered regarding the license-issue status.

But even while using the try-it-button, the following error occurs:

{  
    "error": {  
        "code": "Request_UnsupportedQuery",  
        "message": "Unsupported or invalid query filter clause specified for property 'hasMembersWithLicenseErrors' of resource 'Group'.",  
        "innerError": {  
            "date": "2021-11-24T14:54:27",  
            "request-id": "a8f9c184-b783-45e3-9b2f-f6d77ba13e22",  
            "client-request-id": "17878bb9-3071-040f-a974-07045f81818a"  
        }  
    }  
}  

Is there another way to get groups with license errors or did this get removed from the api without further notice?

Kind regards,
Nico

Microsoft Graph Groups API
Microsoft Graph Groups API
A Microsoft API that creates and manages different types of groups and group functionality.
175 questions
No comments
{count} votes

Accepted answer
  1. Vasil Michev 61,991 Reputation points Microsoft MVP
    2021-11-24T15:45:54.203+00:00

    It looks like the $count operator is causing this, despite what the error message above says.

    No comments

0 additional answers

Sort by: Most helpful