How to Set Up Seamless Single Sign On in Microsoft 365 - Regroove (2024)

How to Set Up Seamless Single Sign On in Microsoft 365 - Regroove (1)

Single sign on (SSO)is an authentication method that lets you use a single username and password to access multiple applications. SeamlessSSOoccurs when a user is automatically signed into their connected applications when they’re on corporate desktops connected to the corporate network.

The benefits of seamlessSSOare many. Not only does seamless SSO limit the number of times your end users need to enter their login credentials,italso helps improve your overall security posture by implementing authentication systems beyond a username and password.

The best use case for seamlessSSOis a hybrid environment, where your team is working on applications both in the cloud and on-premises.Toestablish a trust between the on-premises and cloud environments, you’ll need to use Azure AD Connect.

In this blog, we’ll walk through how to implementSSOin Microsoft 365.

Before You Start

Before you implementSSOin Microsoft 365, ensure your system meets the prerequisites. We recommend reviewingMicrosoft’s documentation, but here’s a brief overview of what you’ll need:

  • An Azure AD tenant, with the domain you plan to use added and verified
  • On-premises Active Directory (schema version and forest functional level must be Windows Server 2003 or later, and domain controller must be writeable)
  • PowerShell execution policy must allow running scripts (recommended policy is “RemoteSigned”)
  • Azure AD Connect must be installed on a domain-joined Windows Server 2016 or later (can’t be installed on Small Business Server, Windows Server Essentials before 2019, or Windows Server core)

Configuring Azure AD Connect

When you have everything on the prerequisites list checked off, its time to spin upAzure AD Connectinstallation wizard. Select the customize option instead of express settings. Click through the user sign-in step–thisstep will give you the option to enableSSO, but only if you choose Password Synchronization or pass-through authentication as the sign on method.Choose one of these methods, as the use cases for the other options are relatively specific (for instance, if you’re a large organization with many domain controllers and a requirement for your own federation, you should select Federation with AD FS as a sign on method). Don’t forget to ‘EnableSSO’ before you leave this step!

Next, you’ll connect Azure AD Connect to Azure AD:

  1. Log in with your global or hybrid identity admin credentials
  1. Connect your on-premises directories or forests
  1. Configure Azure AD sign-in (typically use “userPrincipalName”)

Now you need to decide what you want to sync by way of domains and OUs. Its doubtful you’d want to sync everything from on-premises into the cloud, and it can get messy fast if you select items to sync that it turns out later you don’t need.

  1. Select ‘Sync selected domains andOUs’and check off what you need to sync.
  1. Identifying users, filtering, and optional features can be left for now.

EnablingSSO

Now you’ll need to enableSSO. You’ll need your domainadministratorcredentials to configure your on-premises forest for use withSSO.

If everything looks good to this point, click “Install”. Note that synchronization has not been enabled here; there’s additional configuration to complete before adding users.

How to Set Up Seamless Single Sign On in Microsoft 365 - Regroove (2)
How to Set Up Seamless Single Sign On in Microsoft 365 - Regroove (3)

When you receive the “Configuration is complete” message, Azure AD Connect is installed and configured!Take a lookwithin Azure AD:

How to Set Up Seamless Single Sign On in Microsoft 365 - Regroove (4)

Editing Your Group Policy

Next, log into the server manager and open the Group Policy Management editor. You’ll need to edit the group policy that’s applied to some orall ofyour users, which handles where users are sent (Intranet or Internet) when they navigate to URLs from the browsers.

You can find more information about editing your group policyhere, but we’ll outline the steps below:

  1. Go to “User Configuration”, then “Policies”, then “Administrative Templates”, “Windows Components”, “Internet Explorer”, “Internal Control Panel”, and finally “Security Page”
  1. Select site to “Zone Assignment List” and enable the policy
  1. Enter the following values:
  • Value (data): 1
  1. Click “OK”, then “OK” again
  1. Go to “User Configuration”,then“Policies”, “Administrative Templates”, “Windows Components”, “Internet Explorer”, “Internet Control Panel”, “Security Pages”,then“Intranet Zone”
  1. Select “Allow updatesto status bar via script”
  1. Enable the policy setting
  1. Click “OK”
How to Set Up Seamless Single Sign On in Microsoft 365 - Regroove (5)
  1. Go to “User Configuration”, then “Preferences”, “Windows Settings”, “New”, then “Registry item”
  1. Enter the following information:
  • Key Path:Key Path: Software\Microsoft\Windows\CurrentVersion\Internet\Settings\ZoneMap\Domains\microsoftazuread-sso.com\autologon
  • Value name: https
  • Value type: REG_DWORD
  • Value data: 00000001
  1. Click“OK”
How to Set Up Seamless Single Sign On in Microsoft 365 - Regroove (6)

Enabling Sync

Lastly, you’ll need to enable sync by following these steps:

  1. Open PowerShell
  1. Enter “Get-adsyncscheduler”
  1. This should provide text which includes “Syncenabled= false”
  1. Set “adsyncshceduler-syncenabled$true”
  1. Enter “Get-adsyncscheduler”
  1. You should now see “Syncenabled=true”
How to Set Up Seamless Single Sign On in Microsoft 365 - Regroove (7)

Testing the Solution

To check if all your hard work has paid off, go to the sync service manager. Under “Connection Operations”, select your Azure AD name. Under “Statistics”, the number of adds should equal the number of objects synced from Active Directory to Azure AD via Azure AD Connect.

How to Set Up Seamless Single Sign On in Microsoft 365 - Regroove (8)

If that didn’t work, try “start-adsynccycle-policytypeinitial” in PowerShell.

Conclusion

SSO, and seamlessSSOin Microsoft 365,have the ability toimprove your end user experience, productivity, and security at your organization. We strongly recommend implementingSSOfor your business.

Need assistance getting started? We can help! Get in touch with us at regroove.ca.

How to Set Up Seamless Single Sign On in Microsoft 365 - Regroove (2024)
Top Articles
Latest Posts
Article information

Author: Melvina Ondricka

Last Updated:

Views: 6050

Rating: 4.8 / 5 (48 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Melvina Ondricka

Birthday: 2000-12-23

Address: Suite 382 139 Shaniqua Locks, Paulaborough, UT 90498

Phone: +636383657021

Job: Dynamic Government Specialist

Hobby: Kite flying, Watching movies, Knitting, Model building, Reading, Wood carving, Paintball

Introduction: My name is Melvina Ondricka, I am a helpful, fancy, friendly, innocent, outstanding, courageous, thoughtful person who loves writing and wants to share my knowledge and understanding with you.