I'm making progress! My job requires Company Portal to be installed, work profile created, and the device registered with Intune. Most of the advice above and elsewhere online does not require the work profile or enrollment in Intune, which was my failure point.
I've successfully done the above, but cannot yet install apps in the work profile. More on that below.
Do this all from the owner profile. Do not use Shelter. Do not manually create a work profile. Do not create a separate Graphene user.
- Install Company Portal (Play Store, Aurora, etc)
- Before launching it, enable exploit protection and set it as a device admin app
- Now launch Company Portal and sign in
- I'll prompt to setup the work profile. Accept, it'll work for a minute, then prompt you to press next, after which it will fail/sit there indefinitely.
- At this point, Company Portal disappears from the owner's apps list, but was still listed as installed in the Play Store; it has been moved to the partially-created work profile.
- Go to Settings > Apps > All Apps > 'Work Profile' tab
- Select 'App Store' (Graphene) and the launch icon in the top right to launch it under the work profile
- 'Google Play Services' Install (includes GmsCompatConfig, and Google Play Store dependencies)
- Reboot
- Go to Settings > Apps > All Apps > Work Profile tab, tap 'Company Portal', enable exploit mode, then the launch icon in the top right to launch it under the work profile
- Sign into company portal again.
It took a few attempts and a reboot, but I was able to sign in and my company IT confirmed my device was now showing in Intune.
So Company portal is installed, work profile created, and device registered in Intune. However, whenever I try to install apps (via Play Store) within the work profile, it immediately fails with 'Blocked by Work Policy'. I'm currently troubleshooting as I have time - updates to follow.