About | Links | Scripts
Sharing linux/windows scripts and tips

Troubleshooting: Office 365 login loop

March 29, 2019 — Jesse Harris

If your ever stuck with this issue it can be infuriating. I had the issue on a linux install on my Precision 5510 but not on my home Gentoo installation.

I tried isolating DNS, network, browsers, all to no avail. Until I stumbled on this gem. I quickly noticed my timezone was not set correctly:

    harrisj@19wbpf2 /etc $ timedatectl 
                   Local time: Fri 2019-03-29 13:26:58 UTC
               Universal time: Fri 2019-03-29 13:26:58 UTC
                     RTC time: Fri 2019-03-29 13:26:58
                    Time zone: n/a (UTC, +0000)
    System clock synchronized: no
                  NTP service: inactive
              RTC in local TZ: no

After setting the timezone:

    timedatectl set-timezone Australia/Brisbane

The datetime was now wrong, which was quickly corrected:

    timedatectl set-time "2019-03-29 13:31:45"

Restarted my browser and teams and now I'm a happy chappy!

Tags: Office365, Troubleshooting