IntuneManagement
IntuneManagement copied to clipboard
Silent Import intunewin file path.
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 ?
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!
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!