Hey everyone, I'm facing a frustrating issue with OneDrive. I just took over a disorganized setup with no documentation, and I'm trying to figure out why OneDrive refuses to let me sign in when I'm not connected to the company network. The app just gets stuck on the login screen. At first, I thought it might be related to AnyConnect, but even users not using the VPN experience the same problem. To make things more complicated, Intune isn't configured, and there's no Azure VPN in place. I also noticed that the OneDrive admin center seems to be missing now. This is new territory for me since I've been away for the past two years and Microsoft has made a lot of changes. Has anyone else dealt with this issue?
4 Answers
It might be an issue with the device itself. Make sure the devices are either fully Entra-joined or hybrid-joined. You can use the command 'dsregcmd /status' to check the status. If needed, 'dsregcmd /leave' can disconnect it, and 'dsregcmd /join' can rejoin it. It’s possible that someone signed into the device and selected the option for 'sign-in to all apps.'
It sounds like there might be a network location access control setting enabled in your environment. You might want to check this out: https://learn.microsoft.com/en-us/sharepoint/control-access-based-on-network-location.
Thanks for the tip! I checked that and it's actually turned off in my environment.
Have you checked the sign-in logs? They can sometimes provide insight into what's going wrong.
Unfortunately, there aren't any sign-in logs available.
I think this might be related to conditional access policies. If those are misconfigured, it could prevent sign-ins. Try taking a look at the Azure AD sign-in logs if you can access them.
I did check those logs, but there are no entries showing up. I think it fails before reaching the authentication server.

The device isn't Azure joined; just the user is configured that way.