Could I delete Intune configuration policy using graph api?

Mike Ye 20 Reputation points
2024-05-30T07:38:17.7566667+00:00

I checked the document but only found get or list query for configuration policy. And I tried to delete the policy on Intune manually and copy the request URL and run it, but it still didn't work.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,200 questions
Microsoft Intune Configuration
Microsoft Intune Configuration
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Configuration: The process of arranging or setting up computer systems, hardware, or software.
1,781 questions
0 comments No comments
{count} votes

Accepted answer
  1. CarlZhao-MSFT 39,256 Reputation points
    2024-05-30T07:57:20.2866667+00:00

    Hi @Mike Ye

    Try this API:

    DELETE /beta/deviceManagement/configurationPolicies/{deviceManagementConfigurationPolicyId}
    

    Hope this helps.

    If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful