A cloud-based identity and access management service for securing user authentication and resource access
How to solve the issue:
"TenantInfo::Discover: Failed reading registration data from AD. Defaulting to autojoin disabled 0x80070002
DsrCmdJoinHelper::Join: TenantInfo::Discover failed with error code 0x801c001d."
follow this guide:
https://blog.alschneiter.com/2018/08/16/configure-device-registration-with-azure-ad-connect/
But to successfully hybrid join your device, you should do the following steps afterwards:
- Use dsregcmd /leave on the maschine
- You may also need to delete all user certificates from the device's local AD container
- You can use dsregcmd /debug /join to join the device. It may take 2-3 attempts, but at some point it will register successfully.

