Multiplayer is unavailable. Please try again later

i.imgur. com/9uZk54b.png

I cannot play multiplayer, as soon as I click multiplayer the above message appears, top right corner of the game then has a little box saying offline.

Have tried:
Rebooting PC
Updating drivers
Logging in and out of steam
Logging in and out of xbox services
Deleting my xbox logins out of windows credential manger

i have the same problem ive even installed the game 3 times on steam Microsoft and xbox app. but it still doesnt work.