Hello,
Please go to your Microsoft account privacy settings and check what apps and services were given permissions to access your data https://account.microsoft.com/privacy/activity-...
You can delete all of them, if you wish.
If you worry that you accessed/registered some unsecure websites with your MS account and it could be compromised, it is good to have a full understanding and control over security information of your account. Add alternative email, phone number, set strong password, set two steps verification, use authentication app, etc. The security of your account is tottaly in your hands. Check this articles for more info
https://support.office.com/en-us/article/help-p...
https://support.microsoft.com/en-gb/help/12410/...
Be safe!