Same issue here. Definitely something caused by changes from Microsoft's side. Re-install was the only thing solving it for us.
Conditional Access problem - OneDrive Sync client not passing device ID
I'm having a problem with a computer that is not able to sign into the OneDrive client on a company managed computer. The device is hybrid joined to azure ad, in a compliant state, and there is no problem authenticating to other applications. For some reason, OneDrive is failing to authenticate and when I look at the sign in logs in azure it says "Device is not in required device state: {state}. Conditional Access policy requires a compliant device, and the device is not compliant."
But the device is definitely compliant and other applications are authenticating without a problem. when I looked at the failed login attempt in the sign in logs, there is no device ID.
Microsoft 365 and Office OneDrive For business Windows
4 answers
Sort by: Most helpful
-
-
David Broggy 6,291 Reputation points MVP Volunteer Moderator
2023-01-12T15:30:05.5833333+00:00 Hi Emmett,
Can you confirm that when you go into [https://endpoint.microsoft.com/ you see that the device is compliant?
Screenshots may help.
-
JamesTran-MSFT 36,906 Reputation points Microsoft Employee Moderator
2023-01-24T22:26:55.8666667+00:00 Thank you for following up on this!
Error Message:
Device is not in required device state: {state}. Conditional Access policy required domain joined device, and the device is not domain joined.
From the error message within your screenshot, I was able to find a related issue and it looks like the problem could be related to the Primary Refresh Token (PRT) not being present.
In order to troubleshoot this issue further, I'd recommend working with our support team on this since we'll have to take a closer look at your logs and network traces in order to determine the root cause. For more info - Troubleshoot post-join authentication issues.
Related issue - I'm having a problem with some computers unable to access applications due to the conditional access policy saying the device is not compliant.
Thank you for all of your time and patience throughout this issue!
-
L M 0 Reputation points
2023-05-11T07:17:49.2333333+00:00 Are you using Biometrics / Windows Hello for Business?
We were presented with very similar symptoms as those listed, and signing in with standard credentials instead fixed the issue. So looks to be token related - at least it was in our case.