ODFB sync issue - AAD joined Autopilot devices

Not applicable



When I deploy a device using Autopilot and AAD joined my ODFB is not getting synchronized due to its restriction only for Domain joined device by GUID. 

Is their any way to make the sync work in AAD joined device with out disabling the current sync restriction.


Early help will be much appreciated.


8 Replies
Assuming you used the azure ad powershell and got your domain guids on 365 side and added them? https://www.c-sharpcorner.com/Blogs/onedrive-allow-syncing-only-on-computers-joined-to-specific-doma...

Yes. But the problem is with my AAD joined device. In Domain joined device its working perfectly.
Not sure if it's the same or not, but if you go to portal.azure.com login with your global admin account. Then under Azure active directory on the left site, then properties. Add your Directory ID to the list if it's a different GUID.


Both GUID are different. I tried adding My Tennent GUID but still not working. Any other possible solution?

You might have to give it some time to propagate. Running that powershell command I linked in that article, does it return the same guid as your on-prem domain?

AAD join and domain join are two very different things, I wouldn't expect the first to work in a scenario where you have configured domain-based restrictions on your ODFB. Perhaps you should look into configuring a CA policy that requires AAD joined device instead of using the domain restrictions?

Yeah but if he needs both could be an issue. Also perhaps he doesn't have P1 licensing, but I guess to get it you have to give into P1 once going cloud anyway :P. You would think that restriction could be smart enough to tell if your domain joined.


Swaminathan what you might have to end up doing is doing write back computer accounts, that might be able to work as well but at this point it's hard to 100% tell how that check actually works. 


@Stephen Rice may be able to enlighten us on this how it works from a technical side of things and if doing both is an option without a CA or some form of computer write back. 


I swore at my previous company my laptop was azure joined only and I was able to sync OneDrive and we had the domain restriction set. 




I do have limited M365 E3 license. If I remove the restriction and enable CA, How can I control the sync on Windows 7/8 domain joined and personal devices. For CA to work the device should be registered in AAD.