1. Install SQL Express Server on the server running Defender Management portal.
2. Edit the web.config file
The default location is:
%ProgramFiles%\One Identity\Defender\Management Portal\WWW\web.configChange:
<add key="isCompactDatabase" value="true"/>to:
<add key="isCompactDatabase" value="false"/>3. Use the DBSwap.exe executable to migrate the database
%ProgramFiles%\One Identity\Defender\Management Portal\Tools\DBSwap.exeSelect the '
Switch to SQL Express' option and click on
Submit.

Answer '
yes' to the warning if you are switching to SQL Express database for the first time.

Note:
The data in the destination database will be overwritten after the migration.
Hence it is recommended to use this option only while switching to SQL Express for the first time to avoid any data loss.