Disclaimer:
You can migrate group policies to CSP either manually or by using the MMAT tool. Microsoft has deprecated the use of the MMAT tool. Follow the doc to manually migrate Group Policies to MDM CSP's.
With modern management capabilities available for managing Windows 10 or above devices, most organizations prefer using MDM solutions for managing them. While organizations are transitioning to MDM solutions, they still have legacy Group Policies applied on these devices. Microsoft now provides organizations an option to migrate their Group Policies applied to Windows 10 or above devices as MDM Configuration Service Provider (CSP) which can then be deployed in bulk on devices using an MDM solution. This migration requires the MDM Migration Analysis Tool (MMAT) developed by Microsoft. This tool helps in generating an XML file with a list of all the Group policies and their corresponding MDM CSPs. This XML file only contains the Group policies which have a corresponding CSP available.
Follow the steps given below to generate the XML file and migrate Windows 10 or above Group Policies to MDM CSPs.
In case you wish to generate the XML file for your Domain server use the command: ./Invoke-MdmMigrationAnalysisTool.ps1 -targetDomain <Domain name> -collectGPOReports -runAnalysisTool