Can't connect to multiplayer [PC through Xbox app] [solved]

Whenever I try to connect it pops up that Xbox window with which account to proceed (I only have one), then I get the message in the screenshot.

How do I fix this?

edit: all I had to do was restart computer after having installed the game