I have recently started getting this error. It's very annoying because it means I have to re- sign in all the time.
As far as I can tell the device *is* properly registered in Company Portal.
- If I load up my Azure AD profile I can see the device.
- If I go into Company Portal modern app it says my device has access.
- If I go into Settings -> Accounts it says "Connected to MDM"
I have tried dsregcmd /join from the SYSTEM command prompt but that hasn't done anything.
dsregcmd /status says:
+----------------------------------------------------------------------+ | Device State |+----------------------------------------------------------------------+ AzureAdJoined : NO EnterpriseJoined : NO DomainJoined : NO +----------------------------------------------------------------------+ | User State |+----------------------------------------------------------------------+ NgcSet : NO WorkplaceJoined : YES WorkAccountCount : 2 WamDefaultSet : NO +----------------------------------------------------------------------+ | SSO State |+----------------------------------------------------------------------+ AzureAdPrt : NO AzureAdPrtAuthority : NO EnterprisePrt : NO EnterprisePrtAuthority : NO +----------------------------------------------------------------------+ | Work Account 1 |+----------------------------------------------------------------------+ WorkplaceDeviceId : *** WorkplaceThumbprint : *** WorkplaceIdp : login.windows.net WorkplaceTenantId : *** WorkplaceTenantName : *** WorkplaceMdmUrl : WorkplaceSettingsUrl : NgcSet : NO +----------------------------------------------------------------------+ | Work Account 2 |+----------------------------------------------------------------------+ WorkplaceDeviceId : *** WorkplaceThumbprint : *** WorkplaceIdp : login.windows.net WorkplaceTenantId : *** WorkplaceTenantName : *** WorkplaceMdmUrl : WorkplaceSettingsUrl : NgcSet : NO +----------------------------------------------------------------------+ | Ngc Prerequisite Check |+----------------------------------------------------------------------+ IsDeviceJoined : NO IsUserAzureAD : NO PolicyEnabled : YES PostLogonEnabled : YES DeviceEligible : YES SessionIsNotRemote : YES CertEnrollment : none PreReqResult : WillNotProvision