Could my Xbox account have been compromised from accidentally clicking an ad on Microsoft Edge on my Xbox?

Yesterday night, I was trying to get addons for Minecraft on my Xbox. I accidentally clicked an ad on my Xbox and as I went to go back from the ad, it logged me out of Xbox and said I was logged in elsewhere. I changed my password really fast and activated 2 step verification. Could I have been compromised from the Xbox Microsoft Edge app?

It's possible depending if the ad had malware or something. You can even get things like that from being in a server and the rendering renders them. It's pretty easy to get compromised if you aren't P.A. Hing that much attention. Don't get adding for Minecraft from the Microsoft edge app. I'm pretty sure Xbox doesn't allow you to download things like that.