IntuneManagement icon indicating copy to clipboard operation
IntuneManagement copied to clipboard

Silent Import intunewin file path.

Open Nouneds opened this issue 2 years ago • 2 comments
trafficstars

Hello @Micke-K, exporting with secret tenant id and app id works fine but if we want to import things in devops filepath to the intunewin file needs to be specified. Is there a way to add it in a code line not in json settings file ?

Nouneds avatar Jun 21 '23 18:06 Nouneds

Hello!

Sorry, theres no command line option for this.

Is this for different environments? If so, then use tenant settings.

If not, then you can have two different json files that points to two different folders.

Another option is to have a script updating the json before it triggers the main script.

Cheers!

Micke-K avatar Jun 22 '23 22:06 Micke-K

Hello,

Just checking up on this if we can close this.

FYI, I use the last option above in one tenant eg I have a json for batch export but running it twice with different settings. The automation that triggers the batch files updates the json between triggeres.

Also not that intunewin files can be stored in the export folder as well. The script will look for them during import.

Cheers!

Micke-K avatar Oct 21 '23 23:10 Micke-K