Export and import custom MDM policies in the Azure Intune portal
I have not seen the ability to export and import custom policies - both compliance and configuration policies - in the Azure Intune portal.
We have many customers where we set up our standard policies, and we have to do this manually for all customers.
The export function in the portal today just creates a csv of the view in the console, it does not export the actual policies - as far as I can see.
You can get the policy using the Graph API, which is even better because then you can script it to set the policy in another tenant. Would that get you what you want? Or is it an actual button you want?
Olu Olateju commented
This is not visible as you have to run each script for each category of policy ...pretty frustrating
It's not so much a question of "preference", more a question of expediency. Graph will work now. We build our entire UI on Graph, so if you can do it in in the UI, you can do it in Graph.
At some point we'll have a native PowerShell implementation (it's our #1 request right now) and that will be even easier to export and import, even with minimal PowerShell skills.
We can still keep a request around for a button, but it would have to be something that got lots and lots of votes to get attention when there are already other ways to do it.
Thomas Gudmundsen commented
Great - I was not aware of the Graph API option. Will test that ASAP. An actual button does sound nice, is that on the roadmap - or do you prefer us to go the API route?