Installing xbox Integration

Can anyone help me here please.
Im losing the plot I think
I am trying to setup the xbox integration, and having zero success
And I dont know what I am doing wrong

Is there any guide, as the docs for the xbox integration are not great.
I have created a project in Microsoft Azure, and added the credentials
In the certs. & secrets page on azure, this gives me 2 columns: “value” and “Secret ID”
In the Authentication page on Azure, I have a web redirect URL pointing to https://my.home-assistant.io/redirect/oauth

I have cloud: in my configuration.yaml
I do not have nabu casu, or any HA subscription
My HA server is not publicly exposed
(Unclear to me if this is the reason)

When I then try to add the Xbox integration, I either get an error in an opened Microsoft page, or the below…nothing
It isnt clear to me what credentials go where
image

I am also in the same setup as you and getting nowhere. did you figure this out?

sorry, not really
I got it to work, cant remember how, had to use cloud i think

But quite often HA loses connection to xbox, and i get an error when trying to power it on for example

Logger: homeassistant.components.xbox
Source: helpers/update_coordinator.py:331
integration: Xbox (documentation, issues)
First occurred: March 8, 2024 at 1:52:45 AM (22 occurrences)
Last logged: 11:49:17 AM

Error requesting xbox data: Response payload is not completed
Error requesting xbox data: 503, message='Service Unavailable', url=URL('https://peoplehub.xboxlive.com/users/me/people/batch/decoration/preferredcolor,detail,multiplayersummary,presencedetail')
Error requesting xbox data: 503, message='Service Unavailable', url=URL('https://peoplehub.xboxlive.com/users/me/people/social/decoration/preferredcolor,detail,multiplayersummary,presencedetail')
Error requesting xbox data: 500, message='Internal Server Error', url=URL('https://peoplehub.xboxlive.com/users/me/people/batch/decoration/preferredcolor,detail,multiplayersummary,presencedetail')
Error requesting xbox data: [Errno 104] Connection reset by peer

when i integrated mine do not ask me for credentials only opened a webpage and told me that everything is correct. Maybe because i was already log in the browser. Try to log in and then add the integration.

Not the case I’m afraid.

I have had problems with it since I first found it.

Connection is lost, then it functions OK once the xbox is powered on again, then once its turned off…probelms appear.
And yes, I have disabled all power saving on the xbox etc.