Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I must be doing something wrong... #4

Open
joacole opened this issue May 30, 2021 · 2 comments
Open

I must be doing something wrong... #4

joacole opened this issue May 30, 2021 · 2 comments

Comments

@joacole
Copy link

joacole commented May 30, 2021

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!

@sandytsang
Copy link
Owner

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/

@joacole
Copy link
Author

joacole commented May 30, 2021

Hi Sandy-

I sure did.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants