Cisco Duo Authentication Loop After UPN Change
Summary
This guide helps you troubleshoot and resolve: Cisco Duo Authentication Loop After UPN Change. Follow the steps below to fix the issue.
Common Causes
This guide helps users on shared workshop production terminals resolve an infinite Cisco Duo authentication loop that occurs after a User Principal Name (UPN) change in Microsoft Entra ID (formerly Azure AD). In manufacturing and workshop environments, production terminals are often shared across multiple shifts. When a user's UPN is updated during a name change or role transfer, Duo's directory synchronization cache may remain out of sync with the current identity. This mismatch causes the authentication process to fail and restart repeatedly. The steps below help you isolate whether the issue is caused by the local browser session, the network identity provider, or the cloud synchronization between Entra ID and Duo.
Quick Fix Steps
- Close all open browser windows completely on the shared workshop terminal.
- Open a new InPrivate or Incognito window and attempt to log in to the affected SaaS application.
- If authentication succeeds, the issue is stored browser data. Clear your browser cache and cookies, then restart the browser.
- If the loop continues in a private window, proceed to the detailed instructions below to check the local workstation and network identity.
Detailed Instructions
1. Clear Local Browser Data
- Open your web browser on the shared workshop terminal.
- Press
Ctrl+Shift+Deleteto open the clear browsing data dialog. - Set the time range to All time.
- Select the checkboxes for Cookies and other site data and Cached images and files.
- Click Clear data.
- Restart the browser and attempt to sign in again.
2. Verify Network Identity Provider
- From the same workshop PC, open a browser and navigate to the Microsoft Entra ID sign-in page used by your organisation.
- Enter the user's updated email address and password.
- If you cannot sign in at the Entra ID level, the issue is with the cloud identity, not Duo. Verify that the UPN was updated correctly in Entra ID and check for any conditional access policies that may be blocking the user.
- If Entra ID sign-in succeeds but Duo still loops, the synchronization between Entra ID and Duo is likely stale.
3. Check Duo Admin Panel Credentials and Permissions
- Before attempting directory synchronization checks, confirm that your Duo Admin Panel account has administrator permissions.
- Log in to the Duo Admin Panel using an account with Owner or Administrator privileges.
- If you cannot access administrative sections, your account lacks the necessary permissions to view or sync user records.
4. Check Duo Directory Synchronization
- Log in to the Duo Admin Panel with administrator credentials.
- In the left-hand navigation menu, click Users.
- Search for the affected user by their previous username or email address.
- Compare the listed username with the current UPN in Entra ID.
- If the names do not match, navigate to Directory Sync in the left-hand menu.
- Select the relevant directory connector and click Sync Now to trigger a manual directory synchronization.
- If a manual sync option is not available, wait for the next scheduled sync cycle, which typically occurs every 60 minutes.
- Once the user record updates, ask the user to attempt authentication again.
Troubleshooting
Entra ID sign-in fails after UPN change
If the user cannot sign in to Microsoft Entra ID with the updated UPN, the problem exists before Duo authentication begins. This is common in workshop environments where cached credentials on shared terminals persist across shift changes.
- Ask the user to sign out completely from all Microsoft services and close the browser.
- Clear browser cache and cookies as described in Step 1.
- Verify that the UPN change was completed in Entra ID and not only in the local Active Directory. Duo relies on the cloud-synced UPN, so a local-only change will not resolve the loop.
- Check for conditional access policies in Entra ID that may block sign-ins from specific locations, devices, or networks, including production floor IP ranges.
- If the user's account is locked or disabled in Entra ID, authentication will fail regardless of Duo configuration.
Issue persists across multiple devices
If the authentication loop occurs on more than one workstation, the problem is almost certainly in the cloud synchronization between Entra ID and Duo. Verify that directory synchronization is running successfully and that the user's UPN matches in both systems.
Issue occurs only on the shared workshop terminal
If other devices authenticate normally but the production PC does not, the issue is local to that machine. Clear the browser cache as described above, restart the computer, and ensure the workstation's date and time are set correctly. Incorrect system time can cause MFA token validation to fail.
User recently changed name or role
Confirm with your administrator that the UPN change was completed in Entra ID and not just in the local Active Directory. Duo relies on the cloud-synced UPN, so a local-only change will not resolve the loop.
If you have completed these steps and the authentication loop continues, Open a Ticket for further assistance.
Still Having Issues?
💻 Open a Ticket