hi Santhosh,
First off, thanks for bringing this up, privacy stuff can be super frustrating when it feels like things are happening without u knowing.
U mentioned ur gmail got linked to an onmicrosoft.com directory. That usually happens if u signed up for a Microsoft service (like Azure AD or Office 365) using ur gmail. To check and clean this up, head to the Azure portal, go to 'Azure Active Directory', then 'Users'. If u see ur gmail there with the .onmicrosoft.com suffix, u can remove it if it's not needed. But be careful, if this is tied to work stuff (like intune), u might wanna check with ur IT admin first.
for the OneDrive backups u didn’t ask for, open OneDrive settings and look under 'Backup' or 'Sync and backup'. U can turn off auto-sync for folders u don’t want backed up OneDrive backup settings.
If ur device feels like it’s doing stuff u didn’t approve, start by reviewing all connected apps and services. For gmail, Google’s connected apps page and revoke anything fishy. Same for Microsoft, hit up account.live.com and nuke any sketchy permissions.
Oh, and this might help in other tools too, always check ur email’s 'security alerts' tab. Both Google and Microsoft send warnings when new logins or links happen. If u missed those, now’s a good time to set up 2FA everywhere.
For the phone stuff, sounds like ur work profile might be overlapping with personal use. On Android, u can go to 'Settings > Accounts' and remove any work-related accounts u don’t recognize. For iPhones, it’s under 'Settings > General > VPN & Device Management'.
Lastly, if u think ur device’s still acting weird, a full reset might be the nuclear option. But backup ur important stuff first ))
Hope this helps untangle the mess,
rgds,
Alex