Create an account at Aspose for Cloud and obtain your application client id and secret. Create a directory for your project and a main.go file within. Add the following code to your main.go.
"@odata.context": "https://graph.microsoft.com/beta/$metadata#deviceManagement/configurationPolicies(assignments(),settings())/$entity", "@odata.type": "#microsoft ...