Integrate Azure Active Directory single sign-on with SaaS apps
Organizations are using more Software as a Service (SaaS) applications for productivity because cloud technology and tools are becoming more readily available. As the number of SaaS apps grows, it becomes challenging for the administrators to manage accounts and access rights, and for the users to remember their different passwords. Managing these applications individually creates extra work and is less secure.
- Employees who have to keep track of many passwords tend to use less-secure methods to remember them, either writing down passwords or using the same passwords across many accounts.
- When a new employee arrives or one leaves, all their accounts must be individually provisioned or de-provisioned.
- Additionally, employees may start using SaaS apps for their work without going through IT, which means they are creating their own accounts on systems that the IT administrators haven't approved and aren't monitoring.
A solution for all of these challenges is single sign-on (SSO). It's the simplest way to manage multiple apps and provide users with a consistent sign-on experience. Azure Active Directory (Azure AD) provides a robust SSO solution and has many available pre-integrated applications, with tutorials for admins to quickly set up a new app and start provisioning users.
How does Azure Active Directory integrate apps?
Azure AD allows you to integrate your apps and provisioned accounts. This can be done through either of two approaches.
- If the app is pre-integrated in the app Gallery, you can go through that portal to set up apps and configure the settings to allow SSO. For any Gallery app, you can get started by follow the simple step-by-step instructions presented in the app gallery and in the Azure portal to enable single sign-on.
- If the app is not in the Gallery, you can still set up most apps in Azure AD as a custom app. This requires a bit more technical expertise to configure. You can add any application that supports SAML 2.0 as a federated app, or any application that has an HTML-based sign-in page as a password SSO app.
In the case where users have created their own accounts for SaaS apps that aren't managed by IT, the Cloud App Discovery tool provides a solution. This tool monitors the web traffic to identify which apps are being used throughout the organization, and the number of people using each of them. IT can use this information to learn what apps the users prefer and decide which to integrate into Azure AD for SSO.
When you integrate an app into Azure AD, you can map the users' established application identities to their respective Azure AD identities.
To get started setting up single sign-on for an app that you’re bringing into your organization, you will be using an existing directory in Azure Active Directory (Azure AD). You can use an Azure AD directory that you obtain through Microsoft Azure, Office 365, or Windows Intune. If you have two or more of these, see Administer your Azure AD directory to determine which one to use.
For applications that support the SAML 2.0, WS-Federation, or OpenID Connect protocols, Azure Active Directory uses signing certificates to establish trust relationships. For more information about this, see Managing certificates for federated single sign-on.
For applications that support only HTML forms-based sign-in, Azure Active Directory uses ‘password vaulting’ to establish trust relationships. This enables the users in your organization to be automatically signed in to a SaaS application by Azure AD using the user account information from the SaaS application. Azure AD collects and securely stores the user account information and the related password. For more information, see Password-based single sign-on.
A provisioned account enables a user to be authorized to use an application after they have authenticated through single sign-on. User provisioning can be done manually, or in some cases you can add and remove user information from the SaaS app based on changes made in Azure Active Directory. For more information on using existing Azure AD connectors for automated provisioning, see Automated user provisioning and de-provisioning for SaaS applications.
Otherwise, you can manually add user information to an app, or use other provisioning solutions that are available in the marketplace.
Azure AD provides several customizable ways to deploy applications to end users in your organization. You are not locked into any particular deployment or access solution. You can use the solution that best suits your needs.
Additional considerations for applications already in use
Setting up single sign on for an application that your organization already uses is a different process from the process of creating new accounts for a new application. There are a couple of preliminary steps including: mapping user identities in the application to Azure AD identities, and understanding how users will experience logging in to an application after it is integrated.
To set up SSO for an existing application, you need to have global administrator rights in both Azure AD and the SaaS application.
Mapping user accounts
A user's identity typically has a unique identifier that could be an email address, or user principal name (UPN). You will need to link (map) each user's application identity to their respective Azure AD identity. There are a couple of ways to accomplish this depending on how the requirement of your application authentication.
Understanding the user's log in experience
When you integrate SSO for an application that’s already in use, it’s important to realize that the user experience will be affected. For all applications, users will start using their Azure AD credentials to sign in. It could also be that they must use a different portal to access the applications.
SSO for some applications can be done on the application's sign in interface, but for other applications, the user will have to go through a central portal such as (My Apps or Office365) to sign in. Learn more about the different types of SSO and their user experiences in What is application access and single sign-on with Azure Active Directory.
Another valuable resource is Suppressing user consent in the Guiding developers article.
For SaaS apps that you find in the App Gallery, Azure AD provides a number of tutorials on how to integrate SaaS apps.
If app is not in App Gallery, you can add it to the Azure AD App Gallery as a custom application.
There is much more detail on all of these issues in the Azure.com library, beginning with What is application access and single sign-on with Azure Active Directory..