Microsoft Graph Explorer and API Basics¶
Use the aka.ms/ge link to access the Microsoft Graph Explorer. You will need to sign into your tenant to access the Microsoft Graph Explorer and provide the necessary permissions to access the data you want to work with.
How To Get The Tenant ID Using Microsoft Graph Explorer¶
Send a GET
request to the following endpoint:
How To List All Intune Device Configuration Policies Using Microsoft Graph Explorer¶
Send a GET
request to the following endpoint:
How To Get A Specific Intune Device Configuration Policy Using Microsoft Graph Explorer¶
Send a GET
request to the following endpoint (replace PolicyID
with the ID of the policy you want to get):
Example:
https://graph.microsoft.com/beta/deviceManagement/configurationPolicies/0f6899f8-f2af-49b9-90c7-dd9ab7315fea
How To Upload Intune Device Configuration Policies Using Microsoft Graph Explorer¶
Send a POST
request to the following endpoint:
And in the request body, include the JSON payload for the device configuration policy you want to upload. You can find them in here.
How To List Intune Device Compliance Policies Using Microsoft Graph Explorer¶
Send a GET
request to the following endpoint:
How To Upload Intune Device Compliance Policies Using Microsoft Graph Explorer¶
Send a POST
request to the following endpoint:
And in the request body, include the JSON payload for the device compliance policy you want to upload. You can find them in here.