Introduction
This guide provides step-by-step instructions for setting up Single Sign-On (SSO) with Branch using Microsoft Entra ID (formerly Azure Active Directory) as your Identity Provider (IdP).
This guide will:
Help you get your configuration details from Branch.
Show you how to create and configure a SAML 2.0 application in Microsoft Entra ID.
Link you back to the main Configure SSO guide to complete the setup.
Configure SSO
To configure SSO, you’ll need to get your unique URLs from Branch, configure Microsoft Entra ID, and then finish the setup in Branch.
Before you begin
Before you begin, ensure you have:
Admin access to your Branch account.
Admin access to your Azure portal and the Microsoft Entra ID service.
SSO enabled for your Branch account.
Access to SSO requires a premium plan. Please contact our Sales team to learn more about pricing and availability.
Step 1: Get configuration details from Branch
In Branch, navigate to Account → Settings → SSO.
Select the Setup SSO button.
You will be taken to a new browser tab. In this tab, select Get Started.
In the Select Your Identity Provider section, select Custom SAML. Then select Next.
You will land on the Configure Custom SAML page. Keep this browser tab open and copy the following two values, as you will need them for step 5 below:
Single Sign-On URL(also known as Assertion Consumer Service URL)Service Provider Entity ID(also known as Audience URI)
Select Next.

Step 2: Create a custom SAML app in Azure
Now, log in to the Azure portal to create the Branch enterprise application.
In the Azure portal, navigate to Microsoft Entra ID → Enterprise applications.
Select New application.
Select Create your own application.
Enter an application name (e.g., “Branch SSO”) and select the option to Integrate any other application you don’t find in the gallery (Non-gallery).
Select Create.

Step 3: Configure SSO settings in Azure
Within your new enterprise application in Azure, configure the SAML settings.
Navigate to Single sign-on in the left menu.
On the Select a single sign-on method page, select the SAML tile.
In the Basic SAML Configuration section, select Edit.

Fill in the fields using the values from the Branch tab you kept open from step 1:
Identifier (Entity ID): Paste the
Service Provider Entity IDfrom Branch.Reply URL (Assertion Consumer Service URL): Paste the
Single Sign-On URLfrom Branch.
Select Save.

Step 4: Map attributes in Azure
Branch requires three attributes to be sent in the SAML response to provision and identify users.
Warning
To set up a successful mapping, you must use the attribute names
firstName,lastName, and
In the Attributes & Claims section, select Edit.
Delete any default claims that are not required (you can keep the default unique user identifier claim).
Add the following three attributes by selecting Add new claim for each:
Claim Name
Value
emailuser.mail
firstNameuser.givenname
lastNameuser.surname
For each attribute:
Enter the Name exactly as shown above (case-sensitive).
Set the Namespace to blank (leave empty).
Select Attribute as the Source.
Select the corresponding Source attribute from the table above.

Step 5: Get federation metadata from Azure
Branch needs your Microsoft Entra ID federation metadata to complete the connection.
In the SAML Certificates section of your Azure SAML configuration, locate the App Federation Metadata Url.
Copy this URL so you have it ready for the next step.

Note
Below the SAML Certificates section in Azure, you will see a section called Set up Branch SSO. This is for manual setup using individual values.
Using the App Federal Metadata Url instead is the automatic and recommended setup.
Step 6: Complete connection in Branch
Now you’ll provide Microsoft Entra ID’s metadata to Branch and test the connection.
Go back to your Branch Configure Custom SAML browser tab.
Complete step 2.3 in our main guide. Paste the App Federation Metadata Url from Azure into the Metadata URL field in Branch.
Select Create Connection.
Step 7: Test SSO
Use step 2.4 from our main SSO guide to test the connection between Microsoft Entra ID and Branch.
More information
For more complete information about configuring SSO for Branch, visit our Configure SSO (General SAML) guide.