Conditional Access and Hybrid AD Join
-
Twan van Beers
-
19 February, 2021
It is quite common to use the Hybrid AD Join device state as part of Conditional Access. Whilst it isn’t as strong a Require Compliance Device, it is much easier to attain in an existing estate with mixed hardware.
If you’re having trouble getting the device the Hybrid AD Join, or to show AzureADPrt = YES in the dsregcmd /status output, then see our previous blog on Troubleshooting Hybrid AD Join
If your device has been Hybrid AD Joined and you’re still getting issues with Azure not seeing that your device is Hybrid AD Joined, then you’re in the right place.
First of all there are strict requirements around browsers, basically IE, Legacy Edge work, Chromium Edge needs to have the profile signed in, and Chrome needs to have the Windows 10 Accounts extension installed and enabled. Only those browsers will send device information to Azure AD, and only in that state, InPrivate/Incognito mode is not supported.
Now often issues arise when you want to sign in as a different user. The problem here is that the browser only has access to the PRT that belongs to the user who is signed into the profile in Edge or on the device itself otherwise. We can check the PRT for a specific user by running Command Prompt as that user and then checking AzureADPrt in the output from dsregcmd /status. Again if AzureADPrt = NO then refer to the Troubleshooting Hybrid AD Join blog
If AzureADPrt = YES and you still have problems, then make sure that the browser profile is signed in as the user who you’re trying to access the service with. If you are and it’s still not working then delete that profile and create it again, when prompted to sign in make sure that you untick the option “Allow my organization to manage the device”
After that the secondary account should have its own PRT that the browser has access to and the Hybrid AD Join CA condition can be met
Enjoy the CA!
Twan van Beers
Twan is a senior consultant with over 30 years of experience. He has a wide range of skills including Messaging, Active Directory, SQL, Networking and Firewalls. Twan loves to write scripts and get deep and dirty into debugging code, in order to understand and resolve the most complex of problems.
News & Insights
Trusted insights on technology and innovation to power your business growth.
-
03/06/2026
A practical engineering guide to owners, assignment, consent, credentials and ...
Read More
-
19/05/2026
Domain migrations in Microsoft 365 are rarely as simple as shifting email ...
Read More
-
12/05/2026
Over the past 10 to 15 years, Microsoft 365 has fundamentally reshaped how ...
Read More
-
07/05/2026
Yesterday we had an all company meeting and I thought it would be cool to kick ...
Read More
-
07/05/2026
Planning a tenant-to-tenant migration? Talk to us
Read More
-
31/03/2026
In tenant-to-tenant (T2T) and Google-to-Microsoft 365 migration projects, ...
Read More
-
27/03/2026
You’d think this would be easy and not an uncommon request. There are genuine ...
Read More
-
23/03/2026
Managing Google to Microsoft Migration with GAM7 and PowerShell
Read More
-
16/03/2026
When a user leaves an organisation in Microsoft 365, administrators have ...
Read MoreSubscribe to our newsletter for the latest updates and insights.
Like what you see? Stay in touch! Subscribers to our email list are among the first to receive the latest news, views and updates from Nero Blanco
Conditional Access and Hybrid AD Join">