Onboarding Microsoft365 endpoints for Microsoft Defender365 using Active Directory Group Policy

Onboarding Microsoft365 endpoints for Defender365 using Active Directory Group Policy

First Download on boarding package from security.microosft.com

  • Go to Settings and Endpoints
  • Select Operating system for on-boarding
  • In the Deployment method field, select Group policy. And Click Download Package

Note: Extract the package at share location with read-only location that will be accessed by the devices,

You Should named this folder OptionalParamsPolicy and the file WindowsDefenderATPOnboardingScript.cmd



Create Group Policy using downloaded package 

  • Go to Group policy management console
  • Right Click Group Policy Objects then New

  • Give then name (We are creating for Windows Client OS)


  • Now Right Click newly created Group Policy Object (GPO) you want to configure and click Edit.
  • In the Group Policy Management Editor, go to Computer configuration, then Preferences, and then Control panel settings.
  • Right-click Scheduled tasks, point to New, and then click Immediate Task (At least Windows 7)



In the Task window that opens, go to the General tab. Under Security options click Change User or Group and type SYSTEM and then click OK. NT AUTHORITY\SYSTEM appears as the user account the task will run as.

  • Select Run whether user is logged on or not and check the Run with highest privileges check box.
  • 1.    In the Name field, type an appropriate name for the scheduled task (for example, Defender for Endpoint Deployment).


  • Go to the Actions tab and select New... Ensure that Start a program is selected in the Action field. Enter the UNC path, using the file server's fully qualified domain name (FQDN), of the shared WindowsDefenderATPOnboardingScript.cmd file
  • Click Ok then ok

Link An Existing GPO or Newly created GPO to Systems/Computers OU

  • To link the GPO to an Organization Unit (OU), right-click and select Link an existing GPO. In the dialogue box that is displayed, select the Group Policy Object that you wish to link. Click OK.

Check in https://security.microsoft.com under Device Inventory you will have all newly listed machines 

If Devices are not showing or Getting issue please follow following the troubleshooting steps to resolve the problem.

  1. Check if Group Policy is applied on Client Computer 
  2. Open Task Scheduler in client computer and check if Created Task is showing in Task Scheduler Library 
  3. If Task is not showing please check what step is missing from above setps.
  4. is Showing and Giving error (0x41303) or Giving other Errors please change following settings. 
  5. Go To Domain Group Policies and Edit following settings in Immediate Task
  6. Now Restart your computer and check Task scheduler in your computer if running then check device list https://security.microsoft.com under Device Inventory you will see newly listed machines 



Thank you :) 



Comments

Popular posts from this blog

How to check when Sharepoint List was created using PowerShell.

How to connect SharePoint online with SharePoint designer 2013

Unable to add SMTP address in Office365 (Detailed error message: Unable to update the specified properties for on-premises mastered Directory Sync objects or objects currently undergoing migration. )