Skip to main content
masaleh
Staff
Staff
Aug 11, 2025 3:35 PM UTC

Technical Tip: Configuring Read-Only Access and Admin Access for specific SAML SSO Users on FortiGate

Description This article describes how to configure read-only access and admin access separately for specific users using Azure SAML SSO authentication on FortiGate.
Scope FortiGate.
Solution

To provide read-only access and admin access to specific Microsoft Azure users separately using SAML SSO authentication on FortiGate, follow these steps:

  1. Configure SAML SSO on FortiGate: Set up a SAML SSO object on FortiGate as the Service Provider (SP). Ensure the Identity Provider (IdP) is configured in Azure to authenticate users and send SAML assertions to FortiGate.
  2. Map Azure AD Groups to FortiGate: In the FortiGate SAML configuration, tag the group name to match the Azure AD group claim. Use the config user saml command to set the group-name attribute to match the Azure AD group claim.
  3.  Under the SAML SSO config in the GUI, set the Default admin profile as super_admin_readonly/any custom read-only profile.
     

     

  4. Once users log in to the Fortigate Admin page using SAML login, they will show up as SSO admin under System -> Administrators -> Single-Sign-On Administrator with the default admin profile selected in step 3.

  5. Change the profile to super_admin/any custom profile for the specific users who will require admin access.
  6. This config will provide read-only access to all users using SAML, but only network admin users will be granted super_admin access manually once they log in.

Ensure that the SAML assertions from Azure include the necessary attributes for correct user mapping on FortiGate.

Related article:
Technical Tip: Configuring SAML SSO login for FortiGate administrators with Entra ID acting as SAML IdP 

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT