Microsoft email – how to unenroll iPhone from old company portal

Settings > General > Profiles (or VPN) & Device Management > Select Company Portal profile and tap on Remove Management