Gave up trying to play via Xbox game pass

I recently tried playing this game through PC game pass now that it is (supposedly) available.
First, it wouldn’t install until I opened my blizzard app and then the xbox app in that order only.
Then, when I clicked Play, it would just throw errors at me.
I’m sure that if I dug through the formus and reddit pages I could find some solution, but I simply shouldn’t have to.
I should be able to just press Install and then press Play and have everything work. This is not too much to expect of a multi-billion dollar company.

Did you connect your battle.net account with your xbox account?

I did. I followed all the standard steps, including making sure my graphics card driver was up to date. All I got were those vague errors that said “if error persists, try restarting your device” and the like. To make matters worse, when this would happen, I would have to restart my computer to get other games to work from the blizzard app too.
As I said in my OP, perhaps there is a forum page out there with a solution that will work for me. The thing is, I shouldn’t have to spend my time trying to jimmy the program into working. Activision-Blizzard is a multi-million dollar company that was baught by a multi-billion one. They will have to excuse me if I expect of them the minimum accomplishment of getting their system to work smoothly.

I appreciate this isn’t a helpful response, but I’m playing via gamepass and haven’t had any problems. Only possible thing of note is that once installed I don’t go anywhere near the xbox app (it isn’t even open), I just open battlenet directly and play from there.

I could not install the game, tried the following and it worked for me…

Actually that did not work properly for me, someone on reddit posted something which helped. I took xbox app off startup programs, uninstalled/reinstalled battle.net. then ran battle.net seperately after restart, got it to finish download and is running fine, even opening xbox app after battle.net is running it starts battle.net again but seems to work.
It’s like xbox app caused two instances of battle.net to run or something like that.
(I already had battle.net installed but when adding diablo via xbox app it did another install, uninstall/reinstall did not work until i stopped xbox starting up with PC??)

For anyone who is still having this problem a year down the line I haven’t seen anyone suggest what just worked for me. Change your region. If your Xbox account and Battle.net account are in different regions then it just won’t work. For some reason mine changed to America and once I changed it back to the UK (represent) it worked