Labstats Support
  1. Home
  2. Features
  3. Admin
  4. Enabling Single Sign-On in LabStats with Azure Active Directory
  1. Home
  2. Features
  3. Enabling Single Sign-On in LabStats with Azure Active Directory
  1. Home
  2. On-Premises
  3. Enabling Single Sign-On in LabStats with Azure Active Directory

Enabling Single Sign-On in LabStats with Azure Active Directory

LabStats allows users to enable single sign-on through integration with Active Directory. Users can sync to the organization’s Active Directory and then use those credentials to login to LabStats. Once linked, user permissions and account access can all be controlled within Active Directory.

Single sign-on is achieved by securely syncing the on-premises Active Directory with Microsoft Azure Active Directory, then linking it to LabStats. Azure Active Directory is a free service that many organizations are already using. LabStats does not receive direct access to the Active Directory, its users, or passwords. The authentication at login is performed entirely by Microsoft on behalf of LabStats and only those users who are permitted by the organization can proceed to the LabStats Portal. At that time, LabStats receives the user’s email address and full name in order to fulfill the requirements of a LabStats user account.

This step is not necessary if Azure is already the source of record for your environment. LabStats solely interacts with Azure, so if on-premises AD isn’t your source of record, you can skip this step and proceed to Step 2.

Syncing the on-premises Active Directory with Azure Active Directory is performed by Azure AD Connect, a service built by Microsoft that runs on the on-premises Active Directory server. Once set up, the service runs in the background and automatically keeps the two systems in sync. To learn more about Azure Active Directory Connect, visit: https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnectsync-whatis.

  1. If the organization does not already have a Microsoft Azure account, please create one at: https://azure.microsoft.com/. Registration is free.
    • We recommend registering with an email address that will not be used to login to LabStats for a more seamless experience.
  2. Before installing Azure Active Directory Connect, we highly recommend adding the organization’s domain name to the Azure account.
    • Adding a DNS record to the domain is required to prove ownership, so the organization’s webmaster may need to do this. To learn more, visit: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-add-domain. This is recommended so users can sign into LabStats with their email address. If this step is not completed, for example, the user “john@university.edu” would need to sign in using an address similar to “john@university.onmicrosoft.com”, which is not ideal.
  3. Download and review the system requirements of Azure Active Directory Connect here: https://www.microsoft.com/en-us/download/details.aspx?id=47594.
  4. Install Azure Active Directory. For installation and configuration instructions for Azure Active Directory Connect, visit: https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnect.
    • In order to complete installation of Active Directory Connect, enter credentials for the Azure account (a user in the Global Administrator role), then enter credentials for the on-premises Active Directory Administrator account.
  1. *For LabStats On-Premises Customers Only* Call the LabStats Support Team (1 208-473-2222) and provide the URL of the on-premises LabStats Portal (i.e. https://labstats.example.edu). This is a security measure which helps protect the Active Directory. Azure requires that the URL provided uses HTTPS.
  2. Navigate to the LabStats Portal.
  3. Login to the LabStats Portal with an admin account.
  4. At the top-right of the LabStats menu, navigate to Admin, then click External Systems.
  5. Click  Single Sign-on (SSO) (bottom of the list).
  6. Check the box to Enable single sign-on for my organization.
  7. A page hosted by Microsoft (login.microsoftonline.com) will appear. Authorize and link the Azure Active Directory to LabStats.
    • Enter the login credentials for a user account with the Global Administrator role within Azure (usually the original Azure account user).
    • Grant permission to Read Directory Data to LabStats.

Step 3 – Set Permissions in Active Directory

Users must be granted permissions to login to the LabStats Portal using their organization-issued credentials. Permissions are granted through Group Membership in the on-premises Active Directory.

  1. Create four new groups, with these settings: In Group Settings, choose the Global group scope and Security group type, in the on-premises Active Directory:
    • LabStatsGlobalAdmin (Admin permissions in the LabStats Portal)
    • LabStatsGlobalViewer (Read-only permissions in the LabStats Portal)
    • LabStatsGroupAdmin (Admin permissions for assigned groups)
    • LabStatsGroupViewer (Read-only permissions for assigned groups)
  2. To grant a user access to particular groups via active directory,  add them to a group.
  3. Login. Make sure to login through the Login with your existing organization account link.

Additional steps are required if the user is assigned to the following groups:

  • LabStatsGroupAdmin (Admin permissions for assigned groups)
  • LabStatsGroupViewer (Read-only permissions for assigned groups)
  1. They will receive a message indicating group membership needs to be granted first.
  2. At this point, the admin can give them access to specific groups in the LabStats Portal.
  3. Login through the Login with your existing organization account link.

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support