Home › Knowledgebase › KB-1919

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.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

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

  1. Close all open browser windows completely on the shared workshop terminal.
  2. Open a new InPrivate or Incognito window and attempt to log in to the affected SaaS application.
  3. If authentication succeeds, the issue is stored browser data. Clear your browser cache and cookies, then restart the browser.
  4. 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

  1. Open your web browser on the shared workshop terminal.
  2. Press Ctrl + Shift + Delete to open the clear browsing data dialog.
  3. Set the time range to All time.
  4. Select the checkboxes for Cookies and other site data and Cached images and files.
  5. Click Clear data.
  6. Restart the browser and attempt to sign in again.
Warning: On shared workshop terminals, clearing all browser data may remove saved credentials, bookmarks, or session information for other users who share the same production PC. Ensure you log out of all user profiles before proceeding, and coordinate with shift supervisors to avoid disrupting other production staff.

2. Verify Network Identity Provider

  1. From the same workshop PC, open a browser and navigate to the Microsoft Entra ID sign-in page used by your organisation.
  2. Enter the user's updated email address and password.
  3. 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.
  4. 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

  1. Before attempting directory synchronization checks, confirm that your Duo Admin Panel account has administrator permissions.
  2. Log in to the Duo Admin Panel using an account with Owner or Administrator privileges.
  3. If you cannot access administrative sections, your account lacks the necessary permissions to view or sync user records.

4. Check Duo Directory Synchronization

  1. Log in to the Duo Admin Panel with administrator credentials.
  2. In the left-hand navigation menu, click Users.
  3. Search for the affected user by their previous username or email address.
  4. Compare the listed username with the current UPN in Entra ID.
  5. If the names do not match, navigate to Directory Sync in the left-hand menu.
  6. Select the relevant directory connector and click Sync Now to trigger a manual directory synchronization.
  7. If a manual sync option is not available, wait for the next scheduled sync cycle, which typically occurs every 60 minutes.
  8. Once the user record updates, ask the user to attempt authentication again.
Do not manually edit the user's username in Duo unless directed by your IT administrator, as this can break existing device enrolments and MFA tokens.

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.

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?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket