SSO is an abbreviation of Single Sign-On. It is a method for granting access of multiple applications to users with a single login credential. The third-party software is used in Integration with Salesforce.
When deploying Salesforce Single Sign on Azure, an external identity provider is utilized for authentication. This setup is commonly referred to as Single Sign on in Azure, Azure Salesforce SSO, or Salesforce on Azure, all enabling centralized access for users in an organization.
This method is beneficial in the authentication of various apps with the exact details. This third-party tool is customized according to your organization needs.
Why should we use SSO?
Strong security and a more seamless user experience can be achieved by implementing Salesforce Single Sign on or Azure SSO Salesforce. Here are some of the advantages:
- The functionality to login using credentials of any Salesforce trusted the third party.
- It eliminates the need for login for every application.
- Allows the users to move seamlessly between applications and Salesforce org without requiring repeated logins.
- It allows configuration of SSO depending on the use case so users can access the Salesforce org from a third-party application like a corporate portal.
- You can set up SSO and allow users to login into another application using your Salesforce org.
- You can configure an SSO chain allowing uses to login to a third-party application to access Salesforce and use the access to login to another org.
- It allows you to configure a less centralized login experience, and users can log in to multiple apps using the same credentials.
Implementation
The article explains how to set up Salesforce SSO Azure using an already existing Azure AD setup.
Technical Design Diagram
Configuration of Azure AD
- Sign into Azure Active Directory site: https://aad.portal.azure.com
Create application.
- Go to the menu in left bar and select the option of “Enterprise applications”
- Then click on the “New application” button with a plus sign on it.
- Go to the Add option in gallery and type “Salesforce” or “Salesforce sandbox”.
Add AD Users to newly created Application Group
Ensure that the users that need to be enabled for Azure AD SSO exist in Azure AD. If they do not exist, then please create users in AD first.
- Navigate to the Microsoft Active Directory
- Choose properties from the application option in the menu.
- Then you need to scroll down and reach the page’s bottom. Click on the No in the User assignment required section. Save it. This option will enable all azure users to access the application. If you want the privacy to be set as restricted, you can select yes. You can utilize the groups and users for controlling access to the application.
Configuration of Application
Go to the application menu and select a single sign-on form. Click on the SAML card.
- You will see an edit pencil. Access it by clicking on it, and you will get access to the Basic SAML configuration settings.
- The details you will find in text fields include Identifier (Entity ID) and Sign-on URL. Both are required. The URL of the required fields looks like https://mydomain.my.salesforce.com.
- To save the settings, you must click on Save. By clicking on the cross button present on the top right will close the screen.
- Press the edit icon in the User Attributes & Claims section
- Press the edit icon that is present next to the Name identifier value.
- I prefer to use source attribute of user.mail, save changes and close the screen.
- There is a download link beside Certificate raw in the section labeled SAML Singing Certificate.
Configuration of Salesforce
- Sign in to the Salesforce, click on the Gear icon and the setup will open.
- Type single sign-on in the Quick Find and press enter.
- Enable SAML by clicking edit and save the changes.
- Or you can use SAML XML metadata file and upload in salesforces that will autofill up the setting.
- For the SAML Identity Type, the Assertion tab has Federation ID from the User object.
- Click on Save
- Type Users in the Setup Quick Find.
- You can edit the Federated ID field of the user and add the Azure email address.
- Use the same steps for all the users.
- Log in to the salesforce.
- Log in to the salesforce.
- Type My Domain in the Quick Find search and click on search. o Go to the Authentication configuration and click on Edit. Check the name of the Identity provider and save the changes. You also have the option of deselecting the Login form if you only want users with authentic corporate login to get access.
- Sign out from Salesforce or use an incognito Sign out of Salesforce window
- Write My Domain in the URL of the browser, for example, https://mydomain.my.salesforce.com.
- There is going to be an Azure AD button under the login form. By deselecting the login form on the Domain settings, you will only see the Azure button.
Process of Configuring automatic user account provisioning
- The purpose of the section is to highlight process of enabling the user in provisioning active directory user accounts in the Salesforce.
- Go to the Azure portal and browse Active Directory then click on Enterprise Apps and go to all applications section.
- If Salesforce for single sign-on is already configured then you can use the search field to look for instance of Salesforce. When not in Salesforce instance, add the icon and go to the application gallery and search for Salesforce. Choose Salesforce and add it to the applications list.
- Select the salesforce instance and provisioning tab.
- Give the following configuration settings using the section of Admin Credentials.
- Put the Salesforce Account name in the admin username box. The account you use must have an administrator profile assigned in the salesforce. com.
- Type the correct password in the textbox labelled Admin password.
- To get the security token, open another tab and sign in to the admin salesforce account. Your name will be visible in the top right corner, and clicking on it will take you to the settings.
- On the left navigation pane there is an icon called My Personal Information. It will navigate you to the section of security token.
- Go to security token page and click on the Reset Security token.
- The new security token is sent to the account associated with the admin ID.
- You can copy-paste the token in the Secret token field of the Azure AD window.
- If the salesforce instance is present on the salesforce government cloud, you should enter the Tenant URL. If that is not the case, you have the option of entering the tenant URL by using the following format; https://<yourinstance>.my.salesforce.com,” replacing <your-instance> with the name of your Salesforce instance.
- Go to the Azure portal, and clicking on the Test Connection in the Azure Portal will ensure the connection between the Salesforce app and Azure AD.
- Enter the email address of an individual or a group in the notification email field. They will receive notifications of provisioning errors and take a look at the checkbox.
- Save the changes.
- The option of Synchronized Azure Active Directory users is present under the mappings section.
- You can check out and review the attributes of users in the attribute mapping section. The user attributes are synched from Azure AD to Salesforce. The matching attributes are used for matching accounts in salesforce to ensure updated operations. Do not forget to save the changes.
- To activate the provisioning of Azure AD, you need to go to the Settings section and change the provisioning status to ‘ON’.
- Save the changes.
Assumptions
If the user exists in Azure, then a user should be created in Azure AD first. It is assumed that licenses for both Azure AD and Salesforce are already in place.
Conclusion
Salesforce SSO integration with Azure AD improves user experience, fortifies security, and streamlines authentication. Businesses can consolidate access, lessen login fatigue, and guarantee smooth application connectivity with Azure Single Sign On. Whether you’re using Azure Salesforce SSO to scale access or Salesforce Single Sign on Azure, this integration offers a quick, safe, and effective solution to manage user access throughout your Salesforce ecosystem.
Want to know more about turning your Salesforce and marketing data into powerful insights? Explore our Marketing Cloud Intelligence service.
Frequently Asked Questions
Salesforce SSO enables users to access Salesforce and other linked apps with only one safe login. It increases overall security and eliminates the need to remember several credentials.
Azure Single Sign On uses Azure Active Directory for user authentication. After authentication, Azure AD sends Salesforce the SAML response, giving users immediate access without any further logins.
- To set up Azure SSO Salesforce, you need:
- An Azure AD tenant
- A Salesforce org
- Admin access in both systems
- Details of the SAML configuration
- Assigned user licenses in Azure AD and Salesforce
Absolutely. By centralizing authentication, lowering password-associated risks, and utilizing Azure AD features like MFA and conditional access, Salesforce Single Sign On improves security.
Yes. By building distinct enterprise apps in Azure AD for each environment, you can configure Salesforce on Azure for development, sandbox, and production organizations.






