Skip to main content
KBY Technologies Logo

Intune Company Portal Enrollment Loop on iOS 17

Medium severity Target recovery 45mMicrosoft Intune

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.

Markdown, one checkbox per step, for pasting into a ticket.

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.

  1. Keep the first checks read-only. Record the exact error, platform, affected users and devices, MDM authority and enrollment method.

  2. 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.

  3. 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.

  4. 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.

  1. 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.

  1. Record the affected user, device identifier, exact loop stage, on-screen error and confirmed enrollment path.

  2. Inspect Settings > General > VPN and Device Management with the user and record whether a management profile or another MDM is present.

  3. Confirm supported iOS, stable Wi-Fi, current Company Portal availability, applicable Intune licence and device-limit status.

  4. 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.

  5. 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.

  1. 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.

  1. This runbook changes no management or tenant state, so there is nothing to roll back.

  2. 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.

The KBY Brief

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

More from KBY that goes with this runbook.

Intune Company Portal Enrollment Loop on iOS 17: Diagnose