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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,544 questions
0 comments No comments
{count} votes

0 additional answers

Sort by: Most helpful