Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,504 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
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
It looks like the $count operator is causing this, despite what the error message above says.