Graph API - Filter On Attribute Name

devopsfj 251 Reputation points
2023-08-03T11:03:26.21+00:00

I am looking to filter on the pattern of an attribute name, not the result, for example, we are using Custom Attributes to manage permission to our applications, our attributes look like so:

extension_{appId}_Role_Admin: true

extension_{appId}_Role_Reader: true

extension_{appId}_Role_User: true

I want to query a user to find out which roles they have, so my logic would need to look like

SELECT ALL WHERE ATTRIBUTE NAME STARTS WITH EXTENSION_{APPID}_ROLE

Is this possible?

Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
919 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,173 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.