Get all Intune policies using PowerShell and Graph API
For my new PowerShell function Search-IntuneAccountPolicyAssignment (for searching Intune policies assigned to selected account) I was in need to have a list of all these policies so I can search through them. For this reason, I have created a functi...
doitpshway.com3 min read
Steve Oliver
This looks very useful but I get an error when installing the IntuneStuff module.
"Import-Module : AzureRM.Profile already loaded. Az and AzureRM modules cannot be imported in the same session or used in the same script or runbook."
I've found that the AzureRM module is an older module, but I cannot uninstall it because it is a dependency of IntuneStuff.