A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.
Hi, @Tumer
Because your work account was signed in on the phone through Teams, your company's app protection policy got applied to OneNote too. On Android, that PIN screen is handled by the Intune Company Portal app, so if Company Portal is missing or blocked, tapping the screen does nothing.
Here are some suggestions you can try:
Install Microsoft Intune Company Portal from Google Play. You don't need to sign in or enroll your phone; having it installed is enough for the PIN prompt to work. Then reopen OneNote and tap the screen to set the PIN. App protection only puts a PIN on the app. It doesn't give your company control of your phone.
Realme's ColorOS likes to kill background apps. In the phone's app settings for Company Portal, allow Auto launch and background activity.
If you'd rather not have any PIN, make sure the work account is fully gone. In OneNote, go to Settings > Accounts and sign out of anything that isn't your personal account. Remove the work account from Microsoft Authenticator if you have it, clear storage for Authenticator/Company Portal, and restart. Your notebooks are already synced to the web, so nothing gets lost.
You can also ask your IT team whether their policy covers OneNote. They can exclude it.