Forum Discussion
Azure ADConnect Export of Settings
shockoUsing the graphical user interface exports JSON file only but it cannot be automated easily. Powershell command saves the entire down-level server configuration directory. Copy this entire directory to a backup location. You must copy the entire Exported-ServerConfiguration-* folder.
This can be automated by a script and a scheduled task.
Difference is in importing the configuration later. With JSON file you follow this article https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-import-export-config#import-microsoft-entra-connect-settings
With folder exported you need to reinstall Entra Connect and after accepting the Microsoft Software License Terms, on the next page, select Customize. Then select the Import synchronization settings check box, browse to the copied-over Exported-ServerConfiguration-* folder. Select the MigratedPolicy.json to import the migrated settings.
In both cases configuration will be imported without any issues.