Troubleshooting: Office 365 login loop

If your ever stuck with this issue it can be infuriating. I had the issue on
a linux install on my [Precision 5510](my-setup.html) but not on my home Gentoo
installation.

---

I tried isolating DNS, network, browsers, all to no avail. Until I stumbled
on this [gem][1]. 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

[1]:https://techcommunity.microsoft.com/t5/Microsoft-Teams/Edge-Checking-your-credentials/m-p/377480/highlight/true#M28333
