If you can share a screenshot of the message you saw, that could be helpful. Otherwise, it's pure guessing on our part, so here's my guess:
Someone has stolen your Microsoft account username and password, and is using them to take actions in your name that are against one or more of Microsoft's rules.