@Anon Account Thanks for posting in our Q&A. From your description, did you mean that the iPhone is removed from intune, but the MDM management profile still exists in the device? If there is anything misunderstanding, please correct me.
To clarify this issue, we appreciate your help to collect some information:
- Which method did you use to enroll the iPhone before?
- From your description, I know that it is said that they removed the iPhone from Intune. Please make sure the iPhone doesn't show in the intune portal.
- Could you please try to remove the MDM management profile in Settings > General > Device management > Mangement Profile? If the profile is removed, the device is not managed by intune.
For removing MDM, we usually use retire or wipe action. The wipe action restores a device to its factory default settings and it doesn't keep data. The retire action removes managed app data, settings, and email profiles that were assigned by using Intune, but it will leave the user's personal data on the device.
https://learn.microsoft.com/en-us/mem/intune/remote-actions/devices-wipe
If there is anything update, feel free to let us know.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.