This article describes the process of exporting a device list from one FortiManager and editing the JSON file and Import Device List to be used in another FortiManager.
FortiManager v7.4.
config system admin setting
set show-device-import-export enable
end
tar -xvzf device_list.dat
data.json
chmod 700 data.json
nano data.json
When ready, save the file again as data.json. After, add the updated data.json back to the archive, overwriting the original:
tar -czvf device_list.dat data.json
Open the '.dat' file with 7-zip File Manager:
After, select the TAR file to open it:
Select the data.json to temporarily open the file in the associated Windows editor (Notepad++ in this example).
This way, the file is open from the temp folder:
After completion, save the file and close the Notepad++ window. On the following message from 7-zip, select 'Yes':
Close the 7-zip File Manager. On the next prompt, select 'Yes' again:
The modified device list can be imported back to FortiManager:
Note:
This feature currently does not work in FortiManager versions up to v7.2.8 when importing v7.0/v7.2 FortiGates with split VDOMs or a multi-VDOM setup.
Note:
An attempt to import a device list containing multiple ADOMs may fail with a 'No Permission' error when the workspace feature is enabled. The solution to this is to temporarily disable the workspace, import the devices, and then enable the workspace again.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.