intune Macos device -this device is not registered in company portal application

Issue

  • Occurs on a macOS Platform SSO enabled device and which has been enrolled in Intune using the Company Portal application under local user A.
  • Once you log into the Company portal app under a different local account profile such as Local user B and try to check status of the device it may indicate; “This device is not registered; There was an issue registering your device. Try registering again”.
  • Even if you try several times under Local user B which was not the original account that the device was first registered with, it will not work.
  • Uninstalling and reinstalling Company portal application may not work.

Solution

Solution1: 

  • Log out of Company Portal application and sign out of the macOS or restart the macOS device. Once the computer has restarted, log in using Local user A or the account that was used to register and enroll the device in Intune.
  • Open the company portal application and log in. Click on Check Status and you should see that the device is Compliant or Not Compliant and the “This device is not registered” message should be gone.

Solution2

  • Unfortunately, in Intune macOS devices can only be registered with Platform SSO under one local account profile and so if the desired local account is Local Account B, then sign out of the Company Portal application and then navigate to Settings>>>Privacy & Security>>>scroll to the bottom of the page and click on Profiles>>>select Management Profile and use the minus(-) sign at the bottom to remove the Management profile; this will unenroll the device.
  • Sign into the Company Portal and re-enroll the device; during the process, you will need to navigate to Settings>>>Privacy & Security>>>scroll to the bottom of the page and click on Profiles>>>select Management Profile. Double-click it to download and install the Management Profile; this should complete the enrollment process.
  • You will not need to complete these steps if you have not implemented macOS platform SSO. Once the device has been enrolled and the Require Registration popup comes up, click Register and then provide the local account B password.
  • Provide your Office 365 credentials and once the Preparing your device…screen has completed, provide your Office 365 credentials again to sync the password with the  local account.
  • Now you can log in with the Office 365 password on the macOS computer.