We help IT Professionals succeed at work.
Get Started

O365 Portal login still redirecting to Organization sign in after changing domain from Federated to Managed

garryshape asked
Last Modified: 2015-12-03
I'm trying to get our O365 login working by authenticating a pilot group that's been sync'd to O365 via the Azure Sync Tool I downloaded from the portal when I logged in as Admin and setup on a 2012 R2 server.

The pilot group, which is just one user, sync'd fine.

However, when I go to sign in at portal.office.com with my username@domain.com, it still gives the message "We're taking you to your organization's sign-in page".

It then redirects to an https://ADFS.domain.com (where domain is our actual company's domain name that's online).

So I connected via Powershell per online instructions, and ran the following command to convert the domain in question from "Federated" to "Managed":

Set-MsolDomainAuthentication -DomainName domain.com –Authentication Managed

And now it shows as Managed instead of Federated.

However every time I try to sign in in the browser, I still continue to get the "We're taking you to your organization's sign-in page" message, which lands on the dead/unavailable adfs.domain.com site.

The ADFS server it's trying to direct to is not even around anymore. It was deleted my a terminated team member from before my time.

I can't run Set-MsolADFSContext because the ADFS server doesn't exist.

Are we stuck with this forever? Do I need to contact a Microsoft tech support and is there a free line of support to fix stuff like this?
Watch Question
Most Valuable Expert 2015
Distinguished Expert 2020
This problem has been solved!
Unlock 2 Answers and 4 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE