I want to get only assigned members for a specific role for an application. I have the following query:
https://graph.microsoft.com/v1.0/servicePrincipals('3880b540-17bf-470c-929d-45cd14ddca72')/AppRoleAssignedTo?$filter=AppRoleId eq 'fb9c780e-9fad-47e3-b231-cf4ab958a371'
But I get an error:
Invalid filter clause: A binary operator with incompatible types was
detected. Found operand types ‘Edm.Guid’ and ‘Edm.String’ for operator
kind ‘Equal’.
From what I can tell they are both GUIDs:
If I remove the quotes, I get this error instead:
Invalid filter clause appRoleId: System.Guid
What am I missing?
(I’ve seen this: Microsoft Graph Api: Filter by GUID value, but the solution there was my starting point…)
Recognized by Microsoft Azure Collective