is there any graph api v1.0 for powershell commands to automate endpoint security (antivirus, disencryption,firewall, etc ?

16557136 21 Reputation points
2022-11-20T17:54:37.983+00:00

I want to automate endpoint security in Microsoft endpoint management admin center. I am not able to find any graph Api v1.0 or PowerShell module to automate these configurations.
262314-image.png

I want to automate all the yellow marked configurations.

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

1 answer

Sort by: Most helpful
  1. Crystal-MSFT 54,201 Reputation points Microsoft External Staff
    2022-11-21T03:05:49.837+00:00

    @16557136 , Thanks for posting in Q&A.

    To check the graph Api to create the setting in Endpoint security, you can capture F12 trace on Edge to see the details:

    1. Open Intune portal, click "F12", choose Open DevTools.
      2, Click "Network". try to create the policy in Intune portal.
    2. Then you can see the log under DevTool to find the request to graph. (Check the Header to find the request URL and method. Check Payload to find the request body)

    Here is the related graph link for your reference:
    Create deviceManagementTemplate
    https://learn.microsoft.com/en-us/graph/api/intune-deviceintent-devicemanagementtemplate-create?view=graph-rest-beta&viewFallbackFrom=graph-rest-1.0

    Hope it can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.