Troubleshooting - Intune synchronization: Azure AD Joined: NO or Domain not Joined
Some computers may have problems not being associated with the FI Group domain. As in the image below:
If you have this error and your computer has been connect to the Hybrid AD (Azure AD Intune / Entra Portal and On Premises Active Directory), you must follow this steps:
1. Open the task manager as Administrator:
2. Go to the following path: Task Scheduler Library > Microsoft > Windows > Workplace Join:
3. Leave the Automatic-Device-Join and Device-Sync tasks disabled (Or if the Sync task is disabled currently, you can only enable them):
4. Run the CMD as Administrator and excute the command: dsregcmd /status, if the AzureAD Joined is YES check the endpoint portal: https://endpoint.microsoft.com
4.1 If the status show Azure AD Joined: NO, execute the following steps:
Open the Configurations, go to the Accounts > Access Work or School and disconnect the cuurent user account.
4.2 Run the Powershell with Administrator rights and put the following command:
if (-not (Get-AppxPackage Microsoft.AAD.BrokerPlugin)) { Add-AppxPackage -Register "$env:windir\SystemApps\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\Appxmanifest.xml" -DisableDevelopmentMode -ForceApplicationShutdown } Get-AppxPackage Microsoft.AAD.BrokerPlugin
After this, open the CMD as Adminsitrator and execute the dsregcmd /forcerecovery, enter the user credentials and restart the computer, when you return and execute the dsregcmd /status again you will show the Azure AD Joined: YES