FortiManager
FortiManager supports network operations use cases for centralized management, best practices compliance, and workflow automation to provide better protection against breaches.
haziqsulaiman
Article Id 359701
Description

This article describes how to troubleshoot an issue in FortiManager where exporting policy packages to Excel will generate empty (.xlsx) files.

Scope FortiManager.
Solution

Issue Example:

When exporting the Policy Package, the user may encounter the following issue where the downloaded xlsx file cannot be opened.

 

From FortiManager, there is no error output when performing the export, and the file was downloaded successfully. However, when checking in File Explorer, the size of the file is 0 bytes.

 

policyexport.png

 

This issue might be caused by invalid character(s) in the policies.

For example, the following policy references a Service Object that contains a backslash (\) character, causing issues when exporting Policy Packages.

 

policy.png

 

Troubleshooting:

Change or remove the backslash character from the Service Object’s name (e.g. TCP\443 -> TCP/443).

 

correct.png

 

The Policy Export to Excel should be downloading the file correctly.

 

policycorrect_correct.png