Microsoft Entra Seamless SSO works by sharing the Kerberos decryption key of an on-premises computer account, AZUREADSSOACC, with Entra ID, which makes that account and its key a tier 0 non-human identity that most organisations create once and never touch again. The feature is convenient: users on domain-joined devices on the corporate network sign in to Microsoft 365 without typing a password. The cost is a long-lived shared secret that links your Active Directory forest to your cloud tenant. Microsoft states that the account "needs to be strongly protected for security reasons" and that it "highly recommend[s]" rolling the key "at least every 30 days". In practice, many tenants have never rolled it since the day Seamless SSO was enabled.
This guide explains how the AZUREADSSOACC account works, why its key matters, how to protect the account in Active Directory, how to roll the key safely in each forest, how the move from RC4 to AES affects it, and when retiring Seamless SSO altogether is the better answer.
This is an independent guide from NHI Mgmt Group, based on Microsoft's public documentation as of November 2026. It is not sponsored or reviewed by Microsoft. Product features change, so confirm settings against Microsoft's current documentation.
Key takeaways
- Enabling Seamless SSO creates an
AZUREADSSOACCcomputer account in each synchronised AD forest, plus Kerberos service principal names, and shares the account's Kerberos decryption key with Entra ID. Each forest has its own unique key. - Entra ID uses that key to decrypt the Kerberos ticket that identifies the signed-in user. Anyone who obtains the key holds material that Entra trusts for user sign-in, which is why NHI Mgmt Group treats the account as tier 0.
- Microsoft recommends that only Domain Admins can manage the account, that Kerberos delegation on it is disabled, that it sits in a protected OU, and that its key is rolled at least every 30 days with
Update-AzureADSSOForest. - Run
Update-AzureADSSOForestonly once per forest per rollover. Running it twice breaks Seamless SSO until users' Kerberos tickets expire and are reissued. - Move the account to AES. Microsoft states the default Kerberos encryption type in AD DS changes from RC4 to AES-256 starting with the July 2026 Windows Server update, and that you must roll the key before switching the account from RC4.
- For Windows 10, Windows Server 2016 and later, Microsoft recommends SSO through the Primary Refresh Token instead. If no devices still need Seamless SSO, disabling it and deleting the account removes the risk entirely.
How Seamless SSO and AZUREADSSOACC work
Microsoft describes Seamless SSO as a feature that "automatically signs users in when they are on their corporate devices connected to your corporate network". It is free, is enabled through Microsoft Entra Connect, and works with Password Hash Synchronisation or Pass-through Authentication. It is not applicable to AD FS.
When you enable it, Microsoft's technical documentation states that three things happen:
- "A computer account (
AZUREADSSOACC) is created in your on-premises Active Directory (AD) in each AD forest that you synchronize to Microsoft Entra ID." - "A number of Kerberos service principal names (SPNs) are created for use during the Microsoft Entra sign-in process."
- "The computer account's Kerberos decryption key is shared securely with Microsoft Entra ID. If there are multiple AD forests, each computer account will have its own unique Kerberos decryption key."
The browser sign-in flow then works like any other integrated Windows authentication. Entra ID challenges the browser with a 401 response asking for a Kerberos ticket. The browser asks Active Directory for a ticket for the AZUREADSSOACC account. AD returns a ticket "encrypted with the computer account's secret". The browser forwards it to Entra ID, which "decrypts the ticket, which identifies the signed-in user, using the previously shared key", and then either issues a token or asks for further proof such as MFA. Native clients follow a similar path through a WS-Trust endpoint that Microsoft says "is used exclusively by the Seamless SSO feature", ending with Entra ID issuing access, refresh and ID tokens.
Microsoft also notes that Seamless SSO "is opportunistic": if it fails, the user falls back to entering their password. That is why a broken rollover tends to show up as an increase in password prompts rather than an outage.
Why the AZUREADSSOACC key is a tier 0 secret
Look at the flow above from an attacker's point of view. Entra ID accepts a Kerberos ticket for the AZUREADSSOACC service as proof of which user is signing in, and the only thing that makes the ticket trustworthy is that it is encrypted with the account's key. Microsoft's flow describes AD returning a ticket encrypted with the account's secret and Entra ID decrypting it with the shared key to identify the user. It follows (and this is NHI Mgmt Group's analysis rather than a statement in Microsoft's documentation) that anyone who obtains the key can attempt to construct a ticket asserting the identity of a synchronised user and present it to Entra ID without ever touching that user's password. MITRE ATT&CK catalogues forging service tickets with a service account's key as Silver Ticket (T1558.002), under Steal or Forge Kerberos Tickets (T1558).
Three properties make this worse than an ordinary service account:
- It bridges on-premises and cloud. Compromise of the key in AD gives a route to sign in to the cloud tenant as users. For hybrid organisations this is exactly the path that tier 0 separation exists to close.
- It is long-lived by default. Computer accounts normally change their own passwords. The
AZUREADSSOACCkey is shared with Entra ID, so it must be rolled through the Seamless SSO tooling, which is a manual task that is easily forgotten. - It is invisible to most identity reviews. It looks like an ordinary computer object, is not a user, and does not appear in cloud application inventories. It is a classic unmanaged non-human identity.
Microsoft's own guidance reflects this. It states that the key "should also be treated as sensitive". Entra ID can still require MFA after accepting the ticket, since Microsoft's flow describes Entra ID returning a token "or asks for additional proofs, such as multifactor authentication". Conditional Access that requires phishing-resistant MFA or a compliant device for every user narrows the value of the key, but should not be relied on as the only control. For the wider background on ticket forgery see the Golden Ticket, Silver Ticket and DCSync Guide.
Protecting the account in Active Directory
Microsoft's security note on the account is specific. It states that:
- "Only Domain Admins should be able to manage the computer account."
- Kerberos delegation on the computer account should be disabled, and "no other account in Active Directory has delegation permissions on the
AZUREADSSOACCcomputer account". - The account should be stored "in an Organization Unit (OU) where they are safe from accidental deletions and where only Domain Admins have access."
Turn that into concrete checks in each forest:
- Find every instance. Run
Get-AzureADSSOStatusfrom the Entra Connect server (see the rollover steps below) to list the forests and domains where Seamless SSO is enabled. Then confirm anAZUREADSSOACCobject exists in each, and no unexplained copies exist anywhere else. - Review the OU and object ACLs. Confirm that only Domain Admins (and the built-in tier 0 groups) can write to the object, reset its password, or modify its SPNs and
msDS-SupportedEncryptionTypes. Remove inherited delegations from helpdesk or server teams, which commonly flow down from a generic Computers OU. - Check delegation. Confirm the account is not trusted for unconstrained or constrained delegation, and that no other account has resource-based constrained delegation rights over it. The Kerberos Delegation Security Guide explains each delegation type and how to find it.
- Prevent accidental deletion. Enable protection from accidental deletion on the object and its OU. Deleting the account breaks Seamless SSO for the forest; Microsoft's disablement procedure only removes it after Seamless SSO is turned off.
- Treat the Entra Connect server as tier 0. The rollover cmdlets run on the Entra Connect server with domain administrator and Hybrid Identity Administrator credentials. The server, and anyone who can administer it, can reach the key. See the Microsoft Entra Connect and Cloud Sync Hardening Guide.
Rolling the Kerberos decryption key
Microsoft's FAQ states: "We highly recommend that you roll over the Kerberos decryption key at least every 30 days using the Update-AzureADSSOForest cmdlet." Rolling the key changes the secret in AD and updates it in Entra ID in one operation, which limits how long a stolen copy remains useful.
Prerequisites
- Domain administrator credentials for the forest, and Hybrid Identity Administrator credentials for the tenant.
- The domain administrator username in SAM account name format, for example
contoso\admin. - The domain administrator account used must not be a member of Protected Users; Microsoft states that if it is, "the operation fails". Plan a dedicated, tightly controlled account for this task rather than removing your normal tier 0 admins from Protected Users.
- If you are updating a forest other than the one Entra Connect is in, connectivity to a global catalog server on TCP 3268 and 3269.
- If a domain admin has delegated the task to you rather than you being a domain admin, Microsoft documents using
Update-AzureADSSOForest -OnPremCredentials $creds -PreserveCustomPermissionsOnDesktopSsoAccount.
Procedure
On the server running Microsoft Entra Connect, from an elevated PowerShell session in the Entra Connect installation folder, Microsoft documents the following sequence:
- Import the ADSync module (
ADSync.psd1) and the Seamless SSO module (AzureADSSO.psd1). - Run
New-AzureADSSOAuthenticationContextand sign in with Hybrid Identity Administrator credentials. - Run
Get-AzureADSSOStatus | ConvertFrom-Jsonto list the forests where the feature is enabled. - For each forest, run
$creds = Get-Credentialwith that forest's domain administrator credentials, thenUpdate-AzureADSSOForest -OnPremCredentials $creds.
Microsoft notes that this step does not need to be done on Entra Connect servers in staging mode.
The once-per-forest rule
The most important operational warning is this one: "ensure that you don't run the Update-AzureADSSOForest command more than once per forest. Otherwise, the feature stops working until the time your users' Kerberos tickets expire and are reissued by your on-premises Active Directory." Users with tickets issued under the old key can still sign in after one rollover; a second rollover in quick succession invalidates those tickets too. Because Seamless SSO is opportunistic, the visible symptom is users being asked for passwords. Build the rollover as a script that records which forests it has updated and refuses to update the same forest twice in one run.
Making 30 days realistic
A monthly manual task with domain admin credentials is the kind of control that slips. NHI Mgmt Group recommends:
- Scheduling the rollover as a recurring change, owned by the tier 0 team, with a fixed day each month.
- Keeping the run in a privileged access workstation session, not as an unattended scheduled task holding stored domain admin credentials, which would create a more dangerous secret than the one you are rotating.
- Recording the date of each rollover per forest and alerting if any forest passes 30 days.
- Monitoring the object's password last set attribute in AD as an independent check that the rollover really happened.
Moving the account from RC4 to AES
Microsoft documents that Seamless SSO supports AES256_HMAC_SHA1, AES128_HMAC_SHA1 and RC4_HMAC_MD5, and that "For enhanced security, Microsoft recommends configuring the AzureADSSOAcc$ account to use AES256_HMAC_SHA1 or another AES-based encryption type instead of RC4." The configured type is held in the account's msDS-SupportedEncryptionTypes attribute.
This is now time-sensitive. Microsoft states: "Starting with the July 2026 Windows Server update, the default Kerberos encryption type in AD DS will change from RC4 to AES-256. Organizations that continue to use RC4 may experience authentication or Seamless SSO issues after this update is applied."
The order of operations matters. Microsoft states that if the account is configured for RC4 and you plan to switch to AES, "you must first roll over the Kerberos decryption key", and that "Failing to roll over the key before changing the encryption type can prevent Seamless SSO from functioning correctly." A safe sequence per forest is:
- Check the current value of
msDS-SupportedEncryptionTypeson the account. - Roll the key once with
Update-AzureADSSOForest. - Set the account to AES256 as Microsoft recommends.
- Test Seamless SSO from a pilot domain-joined device and watch for increased password prompts.
Coordinate this with your wider RC4 retirement work; the Kerberos RC4 Deprecation guide covers the domain-wide picture.
Do you still need Seamless SSO?
The strongest control for a risky shared secret is to remove it. Microsoft's overview states: "For Windows 10, Windows Server 2016, and later versions, it's recommended to use SSO via primary refresh token (PRT). For Windows 7 and Windows 8.1, it's recommended to use Seamless SSO." It also notes that Seamless SSO "needs the user's device to be domain-joined, but it isn't used on Windows 10 Microsoft Entra joined devices or Microsoft Entra hybrid joined devices", which use the PRT instead.
If your Windows estate is Entra joined or hybrid joined, Seamless SSO may only be serving a shrinking set of older or unregistered machines, non-Windows browsers with additional configuration, or nothing at all. Find out before deciding. Sign-in logs and device inventory will show which users and devices still depend on it. Moving the remainder to hybrid join is covered in the Entra Device Identity guide, and protecting the PRT that replaces it in the Entra ID Primary Refresh Token (PRT) Security Guide.
Disabling Seamless SSO cleanly
Microsoft documents two ways to disable the feature:
- Entra Connect wizard: choose Change user sign-in page and clear Enable single sign-on. The wizard then reports that "there are other manual steps to perform in order to complete clean-up."
- PowerShell: after the same module import and authentication steps, run
Enable-AzureADSSO -Enable $false, and optionallyDisable-AzureADSSOForest -DomainFqdn <fqdn>to remove domains from the configuration. Microsoft notes that disabling through PowerShell "won't change the state in Microsoft Entra Connect", which will still show Seamless SSO as enabled.
Either way, the final step is to "Manually delete the AZUREADSSO computer account from each AD forest that you see listed." Do not skip it. A disabled feature with the account and its key left in AD is an orphaned tier 0 identity with no owner and no rotation.
Monitoring and detection
Whether you keep Seamless SSO or retire it, monitor the account as a tier 0 asset:
- Alert on any change to the
AZUREADSSOACCobject outside the scheduled rollover window: password resets, SPN changes, encryption type changes, ACL changes, delegation changes, moves and deletions. - Alert on Kerberos service ticket requests for the account that use RC4 once you have moved it to AES. The Kerberos and NTLM Event Detection Guide describes the relevant Windows events.
- Track the account's password last set date against your 30-day target.
- In Entra sign-in logs, review sign-ins completed through Seamless SSO for users or locations that should no longer be using it, particularly after you believe the feature is retired. The Entra ID Sign-In and Audit Log Detection Guide covers building these queries.
- Restrict and log access to the Entra Connect server and to the accounts that hold domain admin and Hybrid Identity Administrator rights.
Common failure patterns
- Key never rolled. The account's password last set date matches the day Seamless SSO was enabled, sometimes years ago.
- Double rollover. The cmdlet is rerun after an apparent failure, invalidating existing tickets and pushing users back to passwords.
- One forest forgotten. The Entra Connect forest is rolled, but secondary forests, each with their own key, are not.
- Weak OU permissions. The account sits in a default computers container where server or helpdesk teams inherit write rights.
- RC4 left in place. The account is still configured for RC4 when AD DS defaults change, or the encryption type is changed before the key is rolled.
- Feature disabled, account left behind. Seamless SSO is turned off but the computer account and its key remain in AD.
- Stored credentials for automation. Domain admin credentials are saved in a scheduled task to automate rollover, creating a bigger exposure than the one being managed.
Practitioner checklist
- List every forest with Seamless SSO enabled using
Get-AzureADSSOStatus, and locate eachAZUREADSSOACCobject. - Confirm only Domain Admins can manage each account, delegation is disabled, and no account has delegation rights over it.
- Move each account to a protected OU with accidental deletion protection.
- Roll the key once per forest with
Update-AzureADSSOForest, and schedule it at least every 30 days. - Use a dedicated domain admin account outside Protected Users for the rollover, from a privileged access workstation.
- Roll the key, then set each account to AES256, then test, before RC4 defaults affect you.
- Measure which devices still rely on Seamless SSO and plan their move to PRT-based SSO.
- When retiring the feature, disable it and delete the computer account from every forest.
- Alert on out-of-window changes to the account and on RC4 ticket requests for it.
- Treat the Entra Connect server and the Hybrid Identity Administrator role as tier 0.
Standards and references
- Microsoft Learn: Microsoft Entra seamless single sign-on technical deep dive
- Microsoft Learn: Seamless SSO key rollover and disablement guidance
- Microsoft Learn: Microsoft Entra seamless single sign-on overview
- MITRE ATT&CK: Kerberoasting (sub-technique of T1558 Steal or Forge Kerberos Tickets, which also includes T1558.002 Silver Ticket)
- MITRE ATT&CK: Valid Accounts: Cloud Accounts
- NIST: SP 800-53 Rev. 5 (IA-5 Authenticator Management, AC-6 Least Privilege, AU-6 Audit Record Review)
- NIST: SP 800-207 Zero Trust Architecture
Related NHI Mgmt Group resources: Microsoft Entra Connect and Cloud Sync Hardening Guide · Kerberos Security Guide · Active Directory and Entra ID Hardening Guide · Entra ID Security Guide