- Edited
These are instructions I wrote for internal use at the company I work for. Note that there still could be issues, depending on the policies of your organisation.
These are only instructions, please consider the cost of security and privacy by doing this. Also be aware that the company will not be able to manage the device (for some people a benefit) as the company portal will never be able to fully initialize.
For GrapheneOS (likely also works with other AOSP based ROMs like LineageOS);
You are required to meet the following criteria;
- You are required to set this up in your main profile. Work profiles are not supported in sub profiles.
- You are required to use Google Play Services, Google Play Store, Google Services Framework and Company Portal
- MicroG also works for the LineageOS/other AOSP ROM users, but this is a GrapheneOS guide - so yeah.
Steps;
- Install the latest shelter release
- https://f-droid.org/packages/net.typeblog.shelter/
- And no - do not use Play Store or Aurora store for this, you can also download the raw APK using this link if you don’t have/want F-Droid.
- https://f-droid.org/packages/net.typeblog.shelter/
- Use shelter to setup your work profile
- Migrate the following apps from your OS to work profile;
- GrapheneOS Apps
- Company Portal
- Aurora Store
- Once migrated, install the following from the GrapheneOS Apps;
- Google Play Services
- Google Services Framework
- Google Play Store
- Is is somehow required for Play Services to initialize correctly - you will get errors in Microsoft apps if you don’t do this.
- Configure your Google Play Services
- You may login using your company account
- Open Company Portal in your work profile, let it initialize and login with your company account - but do NOT proceed with the apps instructions. Instead skip them all.
- Now install the apps you want in your work profile using Aurora store, like;
- Teams
- Outlook
- Sharepoint
- 1Password
- WireGuard
- Microsoft Authenticator
- Make sure this is backed up properly.
Important note; the company portal well never be fully initialized - it may seem broken visually. However, the full initialization is not required for you to login in e.g. Teams by installing via Aurora store. So even though it seems company portal is broken, you can still use the apps you need.