Page 1 of 1

OneDrive login fails

Posted: Thu Jul 11, 2019 7:50 pm
by tgfrules
So it seems when I am connected through the OpenVPN (and routing all traffic) I can't login using Microsoft login.

To reproduce I open an Excelsheet or Word document from my OneDrive.
The error message doesn't say much and as soon as I disconnect from the VPN login is working again.

I have not experienced any other issues with the traffic routing before.

Anyone else on this problem ?

Re: OneDrive login fails

Posted: Fri Jul 12, 2019 9:22 am
by novaflash
Looks to me like somehow the Office services are unavailable while you are connected to your VPN server. Perhaps your VPN server is routing traffic badly. For example, routing 172.16.0.0/16 which is not valid as it also contains public ranges. Or perhaps DNs is not working right. I guess you'll have to dig a little deeper to figure out where the configuration flaw is.

Re: OneDrive login fails

Posted: Mon Jul 15, 2019 2:46 pm
by tgfrules
I think I need some more concrete tests I can run to narrow down on the issue.

Re: OneDrive login fails

Posted: Mon Jul 15, 2019 2:49 pm
by novaflash
Try figuring out what addresses onedrive works with and if your server can access those. And if you mess with that in some way by routing that traffic through your VPN server. And check that the DNS server being used can resolve addresses used by onedrive. You'll have to dig into documentation for this one.

https://docs.microsoft.com/en-us/office ... ess-ranges
https://docs.microsoft.com/en-us/onedri ... -and-ports