How to Fix Microsoft 365 'Device Not Compliant' or 'Device Not Managed' Errors When Accessing Company Resources
Summary
This guide helps you troubleshoot and resolve: How to Fix Microsoft 365 'Device Not Compliant' or 'Device Not Managed' Errors When Accessing Company Resources. Follow the steps below to fix the issue.
Common Causes
If you see a "Device Not Compliant" or "Device Not Managed" error when trying to access company emails, files, or applications in Microsoft 365, it means your device does not meet the security requirements set by your organisation. This is managed through Microsoft Intune and Conditional Access policies to protect business data.
Understanding Registration vs Enrolment
It is important to distinguish between device registration and device enrolment:
- Device Registration: Records your device with Microsoft Entra ID (formerly Azure AD) so you can sign in with your work or school account. A registered device is known to your organisation but is not necessarily managed.
- Device Enrolment: Installs the Microsoft Intune management agent on your device. An enrolled device is managed by your organisation and can be evaluated for compliance with security policies.
You may see a "Device Not Managed" error if your device is registered but not enrolled in Intune. You may see a "Device Not Compliant" error if your device is enrolled but fails to meet one or more security requirements defined by your organisation.
Quick Fix Steps
- Ensure you are connected to a stable internet connection. Try opening a public website to confirm connectivity.
- Sign out of your Microsoft 365 account and sign back in.
- Restart your computer or mobile device.
- Check for and install any pending Windows, macOS, iOS, or Android updates.
- Open the Company Portal app and check your device compliance status before attempting to access company resources again.
Detailed Instructions
1. Check Compliance Status in Company Portal App
Before troubleshooting further, check the specific reason your device is flagged as non-compliant:
- Open the Company Portal app on your device.
- Sign in with your work or school email address.
- Select your device from the device list.
- Review the compliance status and any listed requirements that are not met, such as encryption, password complexity, or operating system version.
- If the app shows your device as compliant but you still receive an error, select Sync or Check for updates to refresh the compliance evaluation.
2. Enrol Your Device in Microsoft Intune
Your organisation requires devices to be enrolled in Intune to be recognised as managed.
- Open the Company Portal app on your device. If you do not have it, download it from the Microsoft Store, Apple App Store, or Google Play Store.
- Sign in with your work or school email address.
- Follow the on-screen prompts to enrol your device.
- After enrolment, allow up to 24 hours for compliance evaluation to complete. Intune does not assess compliance immediately; wait at least one hour, and up to a full day in some environments, before attempting to access protected resources again.
3. Resolve Compliance Issues
If your device is enrolled but marked as non-compliant, check the following common requirements:
- Operating System Version: Ensure your OS is updated to the version required by your organisation.
- Encryption: BitLocker (Windows) or FileVault (macOS) must be enabled.
- Password/PIN: Your device must have a strong password or PIN configured.
- Antivirus: Windows Defender or an approved antivirus must be active and up to date.
- Jailbreak/Root status: iOS and Android devices must not be jailbroken or rooted.
4. Synchronise Your Device
Sometimes the compliance status has been fixed on the server but has not updated on your device.
- Open the Company Portal app.
- Go to Settings or the device overview page.
- Select Sync or Check for updates.
- Wait for the synchronisation to complete and refresh your browser or application.
Troubleshooting Common Scenarios
Device Already Enrolled but Still Showing Error
- Open the Company Portal app and verify the device is listed as enrolled.
- Check the compliance details for specific failed requirements.
- Run a manual sync from the Company Portal app.
- Sign out of the Company Portal app and sign back in.
- Restart your device and wait at least one hour for the next compliance evaluation cycle.
- Confirm with your IT administrator whether your device meets the organisation's specific compliance requirements, as these vary between businesses.
Company Portal App Not Available or Enrolment Fails
- Ensure your device meets the minimum operating system requirements for the Company Portal app.
- On Windows, confirm you are using a supported edition (Windows 10/11 Pro, Enterprise, or Education is typically required for full Intune management).
- On macOS, ensure you are running a supported version and that the Company Portal app has the necessary permissions in System Settings > Privacy & Security.
- On iOS and Android, install both the Microsoft Authenticator and Company Portal apps.
- If enrolment fails, note the exact error code or message and contact your IT administrator.
Windows Devices
- Go to Settings > Accounts > Access work or school.
- Select your work account and click Disconnect, then re-add the account.
- Check whether your device is Azure AD joined, Hybrid Azure AD joined, or simply registered. This can be found under Settings > Accounts > Access work or school > [Your account] > Info. Hybrid joined devices require connectivity to your organisation's on-premises Active Directory.
- Open Command Prompt as an administrator and run
dsregcmd /refreshstate. Warning: This is an advanced command that refreshes the device's join and registration state. It may temporarily interrupt access to company resources. Only run this if instructed by your IT administrator or after attempting the steps above.
macOS Devices
- Open System Settings > General > Software Update.
- Ensure the Company Portal app has the necessary permissions in Privacy & Security.
- Sign out of the Company Portal app and sign back in to trigger a fresh compliance check.
Mobile Devices (iOS/Android)
- Install the Microsoft Authenticator and Company Portal apps.
- Open the Company Portal app and complete the enrolment process.
- Ensure a device passcode is set in your device settings.
- Allow up to 24 hours for compliance evaluation after enrolment.
Sign-In Loop After Enrolment
If you are repeatedly prompted to sign in after enrolling your device:
- Clear your browser cache and cookies, then restart the browser.
- On Windows, go to Settings > Accounts > Access work or school, disconnect your work account, and re-add it.
- On macOS and mobile, sign out of the Company Portal app and Microsoft Authenticator, then sign back in.
- Ensure your device date and time are set automatically, as incorrect time settings can cause authentication failures.
- If the loop continues, open a support ticket with the details below.
Shared or Multi-User Devices
Intune enrolment is generally designed for single-user devices. If you are using a shared or multi-user device:
- Each user should sign in with their own work or school account.
- Enrolment may not be appropriate for shared devices. Contact your IT administrator to confirm whether shared device mode or an alternative access method is available.
- Do not attempt to enrol a shared device with a personal account to access company resources.
Linux and Unsupported Operating Systems
Microsoft Intune has limited support for Linux devices, and many Conditional Access policies do not support Linux as a compliant platform. If you are using Linux or another unsupported operating system:
- You may not be able to enrol the device or meet compliance requirements.
- Access to company resources may be restricted by design.
- Contact your IT administrator to request an alternative access method or policy exception.
Network Connectivity Issues
Beyond confirming you are connected to the internet:
- Ensure your network allows outbound connections to Microsoft Intune and Entra ID endpoints.
- If you are behind a corporate firewall or VPN, confirm it is not blocking enrolment or compliance check traffic.
- Try switching to a different network, such as a mobile hotspot, to rule out local network restrictions.
Conditional Access Policy Considerations
Conditional Access policies are configured by your organisation and may require specific conditions such as:
- Device compliance status
- Approved client applications
- Network location
- Sign-in risk level
If your device meets all known compliance requirements but you still receive an error, the Conditional Access policy itself may be blocking access. Contact your IT administrator for details on the policies applied to your account.
Opening a Support Ticket
If you have followed these steps and still cannot access your resources, Open a Ticket. To help our team resolve your issue quickly, please include:
- The exact error message ("Device Not Compliant" or "Device Not Managed")
- Any error codes displayed
- Your device type, manufacturer, and model
- Your operating system and version (for example, Windows 11 version 23H2, macOS Sonoma 14.4, iOS 17.4)
- The Company Portal app version, if applicable
- Whether the device is personal or company-owned
- Steps you have already tried
- Screenshots of the error and the Company Portal compliance status page, if possible
If you have followed these steps and still cannot access your resources, please Open a Ticket with our support team.
Still Having Issues?
💻 Open a Ticket