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 Security | Intune | Configuration
Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. CarlZhao-MSFT 46,376 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

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.