Skip to content
Fix MDM Profile Installation Failed with 401 Error during Intune Enrollment for Apple Devices

Fix MDM Profile Installation Failed with 401 Error during Intune Enrollment for Apple Devices

Written By Anoop C Nair
Last Updated August 1, 2024
Posted In Intune
SHARE

Let’s learn how to Fix the MDM Profile Installation that Failed with a 401 Error during Intune Enrollment for Apple Devices. Microsoft recognized an issue in the MDM profile installation. Microsoft Intune is a popular MDM solution that allows organizations to control their devices.

You all know about MDM (Mobile device management), which plays an important role in an organization’s security and management of CYO and BYO devices. As we know, Errors are very common and will happen at any level of technology. Let’s look at an Intune error in today’s post and fix it.

Recently, users have faced some errors with Mobile device management, showing that Profile installation has failed. We know that errors occur for many reasons. When an issue occurs in profile installation, we have to check the total process of Profile installation.

Profile installation usually fails when trying to enrol an iOS/iPadOS device. Users sometimes face these issues when installing the Intune Company Portal, especially on iOS devices. So, we must look into the issue and check for solutions in this post.

Patch My PC

What is Intune Enrollment?

Enrollment in Microsoft Intune is the process of signing up devices so they can be managed and protected by your organization’s IT rules. Intune installs a Mobile Device Management (MDM) certificate on the device during this process. This certificate lets the device connect with Intune and follow your organization’s rules.

Fix MDM Profile Installation Failed with 401 Error during Intune Enrollment for Apple Devices

As we mentioned above, users face issues with the Profile installation time. Many users have mentioned this issue recently. These issues occur when the user tries to enrol devices in Intune. Also, users face issues with the company portal installation time.

  • When users face the issue, the error message shows that the profile installation failed and the MDM server returned a status code of 401.
  • The status code 401 is relating to the authentication issue.
  • This error happens when the user tries installing a management profile to access the company apps.
  • We have recently covered many error code posts that occurred during Enrollment Time. For more details, check the link below.

See More: Troubleshoot MDM Enrollment Error Code 80180004

Fix MDM Profile Installation Failed with 401 Error during Intune Enrollment for Apple Devices  -Fig.1
Fix MDM Profile Installation Failed with 401 Error during Intune Enrollment for Apple Devices -Fig.1

The primary solution for the Issue

When the error occurs, you have to check for a primary solution. This error is a known issue of Microsoft, and they are providing some solutions for when the profile installation fails. In the screenshot below, you can see that the server returned a status code of 401. So, it may occur due to some Authentication issues.

  • So we have to Check some solutions to solve the issue.
No.Primary Solution for the Issue
1You have to ensure the credentials used in the MDM are correct. Also, you can check the permissions. This may cause issues in Profile Installation.
2Ensure the user has the Intune service licence
3The next solution is to recheck the enrollment with another MDM provider if it is not already enrolled.
4Make sure the device doesn’t already have a management profile installed.
5Make sure Chrome is set as the default browser and cookies are enabled for Android Devices.
6For iOS/iPadOS Devices, Safari is the default browser, and cookies are enabled.
7After removing the old profile, try re-enrolling the device again, may this may solve the Issue.
8The error may occur due to Network issues; always check your Internet connection
9You must check if this error happens with 1device or multiple devices.
10You can retry the process after a short wait to resolve the issue
11If any solutions do not work, you can do the factory Reset; this will erase all data, so back up your data first.
12You can also check device restrictions in the Intune
13If the issue is not solved, contact your system administrator and IT admin
Fix MDM Profile Installation Failed with 401 Error during Intune Enrollment for Apple Devices -Table.2

Management Profile
Signed by IOSProfileSigning.manage.microsoft.com Verified
Description Install this profile to get access to your company apps
Profile Installation Failed
The MDM server at StatelessIOSEnrollmentService/DeviceEnrollment/ReportDevicelnfo2?
client-request-returned status code 401.

  • I think this solution will help you!
Fix MDM Profile Installation Failed with 401 Error during Intune Enrollment for Apple Devices Credit to emacios -Fig.2 -
Fix MDM Profile Installation Failed with 401 Error during Intune Enrollment for Apple Devices Credit to Emacios via Apple forum-Fig.2

We are on WhatsApp now. To get the latest step-by-step guides, news, and updates, Join our Channel. Click here. HTMD WhatsApp.

Author

Anoop C Nair has been Microsoft MVP from 2015 onwards for 10 consecutive years! He is a Workplace Solution Architect with more than 22+ years of experience in Workplace technologies. He is also a Blogger, Speaker, and leader of the Local User Group Community. His main focus is on Device Management technologies like SCCM and Intune. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security, Career, etc..

Written by

Anoop C Nair is Workplace Technology solution architect with 25+ years of experience in global enterprise organizations such as JP Morgan, Capgemini, etc. Microsoft Certified Trainer. Microsoft MVP from 2015 onwards for consecutive 11+ years! He also conducts Intune and modern workplace tech training for enterprise organizations. He is Blogger, Speaker, and Founder of HTMD Community and HTMD Conference. His main focus is on Device Management technologies like Intune, Windows, Cloud PC. He writes about technologies like Intune, SCCM, Windows, Cloud PC, Windows, Entra, Microsoft Security.

Discussion · 4 comments

  1. Hi,
    Fixed it simply by adding the SIM card. Make sure the IMEI is added to the Identifiers list in Intune and the SIM is in the phone. The error then was gone!
    Hope this hint helps!

  2. When we add IMEI to the corporate identifier ,this phone ownership will marked as corporate device. For BYOD what are the recommended options ?

Join the discussion

Your email address will not be published. Required fields are marked *

Related guides

Intune

Simplify Windows Devices to Run Only the Required Applications using Intune

Key Takeaways Hey, let’s learn about Simplify Windows Devices to Run Only the Required Applications using Intune. This policy lets administrators replace the default windows shell with a custom or lightweight shell. it improves performance by using system resources and is useful for devices that run a dedicated application. If the policy is disabled or […]

AC Anoop C Nair 8 min read
Intune

Enhance macOS Compliance with Custom Security and Compliance Checks to Improve Device Security using Microsoft Intune

Key Takeaways In this post we are discussing about Enhance macOS Compliance with Custom Security and Compliance Checks to Improve Device Security using Microsoft Intune. Microsoft has announced the general availability of Custom Compliance Settings for macOS in Microsoft Intune. The feature helps organizations strengthen security controls while supporting many types of macOS management scenarios. […]

AC Anoop C Nair 4 min read
Intune

Manage Samsung Galaxy Firmware Versions to Improve Security and Compliance using Microsoft Intune

Key Takeaways In this post we are discussing Manage Samsung Galaxy Firmware Versions to Improve Security and Compliance using Microsoft Intune. Microsoft Intune has received a new update that expands firmware management capabilities for Samsung Galaxy devices through Firmware Versionsintegration. This enhancement gives IT administrators more control over firmware and operating system updates, helping them […]

AC Anoop C Nair 4 min read
Intune

MS Intune Adds Windows Registry Data Collection to Device Inventory for Single Values All Key Values and Subkeys

Key Takeaways Microsoft Intune 2607 introduces Windows Registry Data collection in Device Inventory, allowing IT admins to verify actual device configurations without relying on custom discovery or remediation scripts. Using the Properties Catalog, admins can collect registry information through Single Value, All Values Under a Key (Non-Recursive), or Same Value Across Subkeys. MS Intune Adds […]

AC Anoop C Nair 5 min read