MSIntune icon indicating copy to clipboard operation
MSIntune copied to clipboard

I must be doing something wrong...

Open joacole opened this issue 4 years ago • 2 comments

Hi there-

I am trying to use the DeviceConfigurationADMX_Import_FromJSON.ps1 script to import a series of json files from an ADMX policy. The weird thing is that it silently fails.

I run the script in PowerShell ISE as an administrator, feed it the path to the json files, and returns me to the "PS C:\WINDOWS\system32> " prompt.

I've tried passing the directory as "c:\IntuneOutput\admx", "c:\IntuneOutput\admx", "c:\IntuneOutput\admx*.json", and "c:\IntuneOutput\admx\the_whole_file_name.json" and none seem to work.

Any advice you have would be very welcome.

Thanks much!

joacole avatar May 30 '21 17:05 joacole

How did your export those admx policy? Did you use my export script? You can find details from our blog https://msendpointmgr.com/2019/01/17/use-intune-graph-api-export-and-import-intune-admx-templates/

sandytsang avatar May 30 '21 21:05 sandytsang

Hi Sandy-

I sure did.

Thanks!

joacole avatar May 30 '21 21:05 joacole