Intune Company Portal Enrollment Loop on iOS 17
Overview
Diagnose an iOS 17 Microsoft Intune Company Portal enrollment loop, where the device keeps going back to Company Portal before the management profile finishes installing.
Diagnose
Symptom
What responders observe.
Company Portal on an iOS 17 device keeps sending the user back to the enrollment flow, and the management profile does not fully install. Capture the exact loop stage, any on-screen error, whether the device is BYOD web enrollment or another enrollment path, and whether work-app sign-in validation is expected.
Detection
Metrics, logs and confirmation commands.
Keep the first checks read-only. Record the exact error, platform, affected users and devices, MDM authority and enrollment method.
Confirm whether this is BYOD web enrollment or another path, and find exactly where the device returns to Company Portal: before profile download, after profile download, during VPN and Device Management installation, or during post-install sign-in. If Intune's read-only enrollment diagnostics are available, review them, and ask the user to collect enrollment logs.
Check that the user has an applicable Intune licence and a valid enrollment path, and that a sign-in failure, a network failure or a reached device limit is not affecting Company Portal availability.
Confirm supported iOS, stable Wi‑Fi, current Company Portal app version, presence of Microsoft Authenticator when work-app sign-in validation is used, and check the device clock and network state before changing anything. Look under VPN and Device Management for an existing management profile, and find out whether the device was previously enrolled by another user or is already managed by another MDM.
Root cause
Why the incident occurred.
- The evidence points to a handful of likely causes: an outdated or corrupted Company Portal app, sign-in failure, network failure, reached device limit, missing Intune licence, invalid enrollment path, missing Microsoft Authenticator where required for work-app sign-in validation, unsupported or mis-prepared enrollment conditions, or an existing management state such as prior enrollment by another user or another MDM blocking profile installation.
Contain and prevent
Blast radius
What else this can affect.
Single user on a personal iOS 17 device
Multiple BYOD users if caused by app, sign-in or network conditions
Users who previously enrolled with another account or another MDM
Users affected by licensing or device-limit conditions
Prevention
Controls and guardrails that stop it recurring.
-
Keep Company Portal up to date, make sure Wi‑Fi is stable during enrollment, settle the intended enrollment method beforehand, confirm the user has an applicable Intune licence and re-enrollment eligibility, and identify any existing device management state before asking a user to remove a profile or retry enrollment.
-
Collecting the exact error and the enrollment logs early means fewer failed retries.
Fix
Pre-flight checks
Check these before you change anything.
Record the affected user, device identifier, exact loop stage, on-screen error and confirmed enrollment path.
Inspect Settings > General > VPN and Device Management with the user and record whether a management profile or another MDM is present.
Confirm supported iOS, stable Wi-Fi, current Company Portal availability, applicable Intune licence and device-limit status.
This runbook does not remove profiles, retire or wipe devices, change tenant configuration or alter enrollment assignments. Any change of that kind needs the approved procedure that owns it.
Confirm the helpdesk operator has approved read-only access to the affected user and device record before reviewing licence, device-limit or enrollment details; otherwise stop and escalate.
Commands
Get-Date -Format o # Run only on the helpdesk operator approved administrative workstation to timestamp the incident ticket; it targets no user device or Intune tenant.
Record the exact loop stage and error, the profile shown under Settings > General > VPN and Device Management, and the confirmed valid enrollment path.
Have the user close Company Portal, relaunch it, sign in once and retry only the previously confirmed enrollment path.
Stop after one repeated failure. Collect Company Portal enrollment logs and escalate with the recorded ownership, profile, licence, device-limit and enrollment-path evidence.
Do not remove a management profile, try alternate enrollment paths, wipe or retire the device, or make Intune tenant changes through this runbook.
No preview or dry-run applies to Get-Date because it is a read-only local timestamp and targets neither the user device nor Intune; the Company Portal relaunch is user-driven and makes no management configuration change.
As an administrator, where available, run the Intune iOS/iPadOS enrollment self-help diagnostic in the Microsoft 365 admin center (Show all > Support > Help & support) for the affected user's email address, and attach its read-only findings to the incident.
Verify and recover
Verification
Evidence required before you close the incident.
- Check that one test device finishes enrollment without going back to Company Portal, appears in Intune, has the expected ownership and primary user, receives policy, reports compliance, and no longer loops during management profile installation. Also confirm the user can complete the required sign-in flow when Microsoft Authenticator is required.
Rollback
The safe way back.
This runbook changes no management or tenant state, so there is nothing to roll back.
If the single Company Portal relaunch and retry does not resolve the loop, stop further attempts and escalate with the captured evidence.
Escalate when
Conditions that need another owner.
-
Escalate if read-only diagnostics show licensing, enrolment method or device-limit conditions that cannot be resolved at the helpdesk tier.
-
If the device was previously enrolled by another user or another MDM.
-
If a corporate management profile is present.
-
If Company Portal still loops after the single relaunch and retry.
-
Or if profile removal is being considered but ownership, backup or re-enrolment eligibility cannot be confirmed.
Fixed? Get the next one before it hits you: The KBY Brief
Practical fixes for the systems you run, by email about twice a week. Unsubscribe at any time.
About this page
Credited to
Dates
Published
Last updated
Corrections
- : Corrected during a review of published articles. Details
Was this useful?
Reports go to the site owner and are used to correct pages. Corrections are listed at /corrections.
Found this useful? Follow KBY for more like it.
Sources
Based on the vendor sources listed below. Check each step against your environment before acting.
First published 23 August 2026 · Last updated 18 November 2026
Troubleshoot device enrollment in Intune
Cited for: Initial investigation should record the exact error, platform, affected users and devices, MDM authority and enrollment method; Intune offers read-only enrollment diagnostics and device users can collect enrollment logs; Company Portal availability issues can arise from outdated or corrupted app state, sign-in failure, network failure or reached device limit.
Set up a personal iOS device for work
Cited for: Company Portal enrollment for personal iOS devices requires supported iOS, stable Wi‑Fi and the current Company Portal app; web enrollment downloads a management profile installed under VPN and Device Management; Microsoft Authenticator must be installed before work-app sign-in validation is used.
Intune profile installation failed on iOS or iPadOS
Cited for: Profile installation can be blocked by prior enrollment by another user or existing management by another MDM; the user must have an applicable Intune licence and valid enrollment path; existing management state must be identified before any profile is removed or enrollment is retried.
Recommended reading
More from KBY that goes with this runbook.

- Microsoft Intune error
0x801C03EA: Autopilot fails at Registering your device for mobile management
2 min read

Related runbooks
Platform SSO Configuration Failure: Local Account Sync
Diagnose and repair Microsoft Entra Platform SSO on macOS when incorrect registration or conflicting SSO extension payloads leave the local account password out of sync.
APNs Regional Outage: Fleet Check-In Failure
Suspected Apple Push Notification service disruption delays MDM wake notifications, preventing parts of the fleet from checking in until Apple service or affected network paths recover.