@}{Alienz}{'s solution still works for me. I switched to a new ROM yesterday (clean install) and was having issues setting up Teams and Outlook (Company Portal was
detecting root) until I came across this thread and followed }{Alienz}{'s solution. Took a couple of tries but what got it working in the end was to ensure I force-closed ALL Microsoft apps (Company Portal, Authenticator, Teams, Outlook, Skype for Business, OneDrive) and then cleared ALL their respective Storage+Caches. Then I set up Authenticator again, didn't touch Company Portal, then set up Teams, Outlook etc and it's been
working fine. Device has been running for almost a full work day now without any issues.
I'm on Android 11 (PiXeN-OS) patched to November 2020, on a OnePlus 6. I'm using Magisk 21.1 (MagiskHide enabled + Magisk package renamed) and I
don't have any other modules MagiskHidePropsConfig/Riru/Xposed etc installed, for now anyway.
I'll monitor and update this post if the situation changes.
If any of you have issues, can you please mention your:
- Device make/model/variant
- Android OS version, Security Patch Level and ROM (if using a custom ROM)
- Magisk version
- Any other mods/root apps installed (Riru/Xposed etc)