How to identify groupPolicyDefinitions imported from my ADMX file using Microsoft Graph API?

Oleh Pedan 0 Reputation points
2025-10-31T12:19:52.1433333+00:00

Hi, After importing my own ADMX file into Intune, I want to use Microsoft Graph API to update the corresponding groupPolicyDefinitions (and their values).

How can I compare every GroupPolicyDefinition with policy from ADMX?

I’ve tried calling

GET /deviceManagement/groupPolicyDefinitions

but I found that property Name is missing. Only displayName is available, but using displayName is not sufficient, because policies can be with same displayName or it may differ depending on the ADML localization.

Is there a way to identify definitions from a specific imported ADMX file without using displayName?

Thanks.

Microsoft Security | Intune | Configuration
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prathista Ilango 670 Reputation points Microsoft Employee
    2025-11-25T16:42:19.35+00:00

    Hello Oleh Pedan,

    Try the following. It has the file name and its ID properties, using which you can try retrieving the definitions. https://graph.microsoft.com/beta/deviceManagement/groupPolicyUploadedDefinitionFiles?$select=id,fileName

    Also, refer to: https://learn.microsoft.com/en-us/graph/api/resources/intune-grouppolicy-grouppolicyuploadeddefinitionfile?view=graph-rest-beta

    Hope this helps!

    If you found the information above helpful, please Click Yes. This will assist others in the community who encounter a similar issue, enabling them to quickly find the solution and benefit from the guidance provided.

    0 comments No comments

Your answer

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