> For the complete documentation index, see llms.txt.
Skip to main content

Check out Port for yourself ➜ 

Entra ID (AzureAD)

Follow this step-by-step guide to configure the integration between Port and Azure AD using a SAML application

Port-AzureAd integration benefits

  • Connect to the Port application via an AzureAD app.
  • Your AzureAD teams will be automatically synced with Port upon a user sign-in.
  • Set granular permissions on Port according to your AzureAD groups.

Register a new application

  1. Head to your Azure portal and enter the Entra ID portal.

  2. Click on Enterprise Applications and create a new application.

  3. Click on Create your own application and select Integrate any other application you don't find in the gallery (Non-gallery).

  4. In the getting started section, select the Set up Single Sign On button, and choose the SAML method.

  5. Edit the Basic SAML Configuration (step 1) and add the following information:

    The Port setup flow shows you the exact values to use. Copy the Single Sign-On URL as the Reply URL (Assertion Consumer Service URL), and the Service Provider Entity ID as the Identifier (Entity ID):

    Port SAML setup screen showing Single Sign-On URL and Service Provider Entity ID

    Under Logout URL (optional), set: https://auth.getport.io/logout (EU) or https://auth.us.getport.io/logout (US).

    Azure SAML basic configuration with Identifier and Reply URL filled in
  6. In the Single sign-on tab, head to the 2nd section (Attributes & Claims), Click on Edit and add a new claim:

    • Name: email_verified
    • Source attribute: user.accountenabled
  7. Under SAML certificates (step 3), Click the Edit button to expand the certificates section. Click the 3 dot icon next to the Active certificate, and choose PEM certificate download.

    Azure SAML certificates section with PEM download option

    Use the downloaded PEM certificate in step 2 of the SAML integration setup to configure the connection in Port.

    At the top of the SAML configuration page, click the upload metadata file button and create an XML file with the relevant URL below (based on your region):

    • EU: https://auth.getport.io/samlp/metadata?connection=company-<companyID>-SSO
    • US: https://auth.us.getport.io/samlp/metadata?connection=company-<companyID>-SSO
Direct access via URL

After configuring the SSO connection, you can initiate the login flow directly via URL. Use the following URL based on your account region, replacing company-<companyID>-SSO with your actual connection name. You can find your connection name in the Single Sign-On URL shown during the self-serve SSO setup flow - look for the connection parameter in the URL.

https://auth.getport.io/authorize?response_type=token&client_id=96IeqL36Q0UIBxIfV1oqOkDWU6UslfDj&connection=company-<companyID>-SSO&redirect_uri=https%3A%2F%2Fapp.port.io

Expose groups

In order to expose your Azure groups to Port via the application, do the following:

  1. Head to the Single sign on section in the application configuration, and edit the Attributes & Claims.
  2. Press the Add a group claim button
  3. Select Groups assigned to the application and in the source attribute select Cloud-only group display names.
  4. Assign the relevant groups you want to expose to the application, these will be ingested into Port as teams you can use to manage user permissions and RBAC in your Port account.

Alternatively, if you are syncing your groups from an on-prem AD into Entra, configure the group claim like so (sAMAccountName as source attribute, and box checked):

Microsoft Entra group claim with sAMAccountName as the source attribute and cloud-only group names enabled