Description
This article describes configuring SAML on FortiGate while security fabric is enabled on downstream FortiGate displays the error 'Cannot change this setting in SP when Security Fabric is enabled'.
Error Message:
Cannot change this setting in SP when Security Fabric is enabled
(configuration-sync is in default mode and saml-sync is default)
and is not the root of fabric.
object set operator error, -333, roll back the setting
Command fail. Return code -333
This is located under Security Fabric -> Fabric Connectors -> Security Fabric Setup.
Scope
FortiGate
Solution
The error occurs when the leaf firewall is getting SAML configuration from the root FortiGate and it eventually, will not allow to configure other SAML configurations and display the error.
In order to configure a different SAML configuration other than the root FortiGate.
The SAML Single Sign-On option can be moved from Auto to Manual. Select Security Fabric -> Fabric Connectors -> Security Fabric Setup -> edit it -> select Single Sign-On Settings.
After changing the setting above, it will be possible to successfully change the SAML configuration.
config system saml
set status enable
set cert "Fortinet_Factory"
set idp-entity-id "http://X.X.X.X/saml-idp/csf_ngc_some_random_string_ivhehwu37fml20/metadata/"
set idp-single-sign-on-url "https://X.16.106.74/csf_ngc_some_random_string_ivhehwu37fml20/login/"
set idp-single-logout-url "https://X.16.106.74/saml-idp/csf_ngc_some_random_string_ivhehwu37fml20/logout/"
set idp-cert "REMOTE_Cert_1"
set server-address "X.16.106.74:12443"
end
Related articles:
Technical Tip: How to fix crashing SAML daemon
Technical Tip: How to read SAML Debug output
Technical Tip: A basic explanation of SAML authentication
Technical Tip: Configuring SAML SSO login for FortiGate Admin Web GUI Access with JumpCloud acting a...
Technical Tip: Configuring SAML SSO login for FortiGate administrators with Okta acting as SAML IdP
Technical Tip: Set up SAML admin LDAP login on FortiGate (SP) with FortiAuthenticator (IDP)
Technical Tip: Configuring FortiGate SSO Administrators with ADFS as SAML IdP
Technical Tip: Using single Azure Enterprise Application for multiple SAML Service Providers (SPs) f...
Troubleshooting Tip: Admin authentication with SAML SSO breaks after upgrade to firmware 7.4.1
Technical Tip: Configure SAML SSO for WiFi SSID over Captive Portal with Azure AD as IdP
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.