Pages

Tuesday, January 3, 2017

Attempting to sign into Office 365 https://login.microsoftonline.com/ continuously loops after entering credentials

Problem

You have a new user account that was setup in an on premise Active Directory domain with an Office 365 license but noticed that launching any of this user’s Office applications will attempt to sign into Office 365 with his on premise AD account and would fail to retrieve the license and activate his Office. Reviewing his account on the account on Office 365’s Admin center confirm that he has a valid E3 license assigned to his account:

image

Attempting to test his account by signing into the portal https://login.microsoft.com:

image

… cause a constant loop with the as shown in the following 2 screenshots:

We don’t recognize this user ID or password

Be sure to type the password for your work or school account.

image

Redirecting…

We’re taking you to your organization’s sign-in page.

image

Attempting to unassigned and reassign E3 license does not correct the issue:

image

Solution

After trying numerous troubleshooting steps without any luck, what corrected the issue was the following:

  1. Unassigned the Office 365 E3 license via the Office 365 admin portal
  2. Remove the account from the on premise Active Directory
  3. Force DirSync to sync up the on premise AD with the Azure / O365 AD
  4. Verify that the account no longer exists on the O365 portal
  5. Recreate the account
  6. Force DirSync to sync up the on premise AD with the Azure / O365 AD
  7. Verify that the account exists on the O365 portal
  8. Reassign the Office 365 E3 license

I understand that this probably isn’t viable solution if this is an existing account that has been in use for a long period of time but the situation I was in involved a new account so I was able to perform the above without affecting an existing user.

No comments: