[SOLVED] Cannot Login to Microsoft M365

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Alfh
Level 1
Level 1
Posts: 5
Joined: Mon Aug 21, 2023 5:40 am

[SOLVED] Cannot Login to Microsoft M365

Post by Alfh »

Tried to login on the portal.office.com / https://www.microsoft365.com/ from Firefox and got the error message that site not found after clicking login button.
I also tried to ping login.microsoftonline.com but nothing happens. Nslookup does work but traceroute doesn't.
I have LMDE5 on my main PC and laptop. Laptop won't login either. All my machines are in the same home subnet. Login works in Debian 11 machines and Fedora virtual machine on my main PC. All of those uses same DNS from router.

Ping to login.microsoftonline.com works with Fedora VM. So does LMDE block that address?
Last edited by LockBot on Wed Feb 21, 2024 11:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
argentwolf
Level 4
Level 4
Posts: 344
Joined: Wed Aug 22, 2018 5:24 am
Location: Holly Springs, NC

Re: Cannot Login to Microsoft M365

Post by argentwolf »

Trouble's good leaving here...can you log into www.live.com?
Vanguard debian, because nothing's worse than doing nothing whimsically.
LMDE 6 | i7-4790 @ 3.60GHz x 8 CPU | 15.6GiB RAM | NVD9 1.9GiB GPU | 931GiB SSD | 298 GiB HD
LMDE 6| 2 Duo T5270 @ 1.40GHz x 2 CPU | 3.9GiB RAM | NV86 117MiB GPU | 465 GiB SSD
Alfh
Level 1
Level 1
Posts: 5
Joined: Mon Aug 21, 2023 5:40 am

Re: Cannot Login to Microsoft M365

Post by Alfh »

argentwolf wrote: Mon Aug 21, 2023 6:57 am Trouble's good leaving here...can you log into www.live.com?
Front page did load immediately and after clicking Sign in button it took couple minutes to get to the login page. I tried my M365 and personal Outlook addresses but login failed:
"There was an issue looking up your account. Tap Next to try again."
Demmers
Level 3
Level 3
Posts: 101
Joined: Fri Aug 16, 2019 7:37 am
Location: England, UK

Re: Cannot Login to Microsoft M365

Post by Demmers »

Sounds silly, but have you tried https://www.office.com/ ?
Alfh
Level 1
Level 1
Posts: 5
Joined: Mon Aug 21, 2023 5:40 am

Re: Cannot Login to Microsoft M365

Post by Alfh »

Demmers wrote: Mon Aug 21, 2023 6:29 pm Sounds silly, but have you tried https://www.office.com/ ?
"We can’t connect to the server at login.microsoftonline.com." after clicking Sign in.

So does LMDE block login attemps to Microsoft or is it Microsoft blocking my LMDE installs?
User avatar
Pierre
Level 21
Level 21
Posts: 13228
Joined: Fri Sep 05, 2008 5:33 am
Location: Perth, AU.

Re: Cannot Login to Microsoft M365

Post by Pierre »

it won't be LMDE blocking anything . . .

but - it might be your web browser - what are you using ?
- have you tried with an alternative web browser ?
Image
Please edit your original post title to include [SOLVED] - when your problem is solved!
and DO LOOK at those Unanswered Topics - - you may be able to answer some!.
Alfh
Level 1
Level 1
Posts: 5
Joined: Mon Aug 21, 2023 5:40 am

Re: Cannot Login to Microsoft M365

Post by Alfh »

Pierre wrote: Tue Aug 22, 2023 6:35 am it won't be LMDE blocking anything . . .

but - it might be your web browser - what are you using ?
- have you tried with an alternative web browser ?
I'm using Firefox on all my systems and haven't tried any alternatives. Ping does not work either so i don't think it's browser.
I just don't get it why it is two LMDE systems that doesn't login to M365. I have no problems with Debian or Fedora. It used to work, but stopped working about a couple of months ago.
User avatar
Midnight True
Level 7
Level 7
Posts: 1549
Joined: Wed Jul 20, 2022 3:23 am
Location: Southern and Southwestern area of Mato
Contact:

Re: Cannot Login to Microsoft M365

Post by Midnight True »

Alfh wrote: Tue Aug 22, 2023 7:29 am
Maybe this is due to your dns?
please share output of the following:

Code: Select all

resolvectl status
consider changing it to Cloudflare 1.1.1.1

On firefox you can try that by navigating to Settings --> Privacy and Security --> Max protection --> Choose Provider --> Cloudflare
Alfh
Level 1
Level 1
Posts: 5
Joined: Mon Aug 21, 2023 5:40 am

Re: Cannot Login to Microsoft M365

Post by Alfh »

Midnight True wrote: Tue Aug 22, 2023 9:02 am
Maybe this is due to your dns?
please share output of the following:

Code: Select all

resolvectl status
consider changing it to Cloudflare 1.1.1.1

On firefox you can try that by navigating to Settings --> Privacy and Security --> Max protection --> Choose Provider --> Cloudflare
Changing Firefox DNS setting from Default to Max Protection (Cloudflare) did the trick! Thanks!

This is bit confusing because everything else did work, only had problem with M365.

Code: Select all

~$ systemctl is-active systemd-resolved
inactive
~$ resolvectl status
Failed to get global data: Unit dbus-org.freedesktop.resolve1.service not found

Code: Select all

~$ nslookup login.microsoftonline.com
Server:		192.168.1.1
Address:	192.168.1.1#53

Non-authoritative answer:
login.microsoftonline.com	canonical name = login.mso.msidentity.com.
login.mso.msidentity.com	canonical name = ak.privatelink.msidentity.com.
ak.privatelink.msidentity.com	canonical name = www.tm.ak.prd.aadg.akadns.net.
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 20.190.177.19
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 20.190.177.20
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 20.190.177.23
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 20.190.177.84
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 20.190.177.85
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 20.190.177.146
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 20.190.177.148
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 20.190.177.149
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 2603:1026:3000:118::3
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 2603:1026:3000:108::3
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 2603:1026:3000:108::7
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 2603:1026:3000:110::3
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 2603:1026:3000:110::4
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 2603:1026:3000:110::5
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 2603:1026:3000:118::1
Name:	www.tm.ak.prd.aadg.akadns.net
Address: 2603:1026:3000:118::2

Code: Select all

~$ ping login.microsoftonline.com
ping: login.microsoftonline.com: Name or service not known
Locked

Return to “Networking”