I have been experiencing the same problem for a long time in Minecraft. I cannot access the Marketplace or Realms, and it is also not possible to invite friends to my world or play in their worlds. I have already carried out all the technical procedures requested by support, such as resetting the network settings, manually configuring the IP and DNS (1.1.1.1 and 9.9.9.9), checking that the NAT is open, formatting the console, reinstalling the game, and confirming that the Xbox system is up to date. Even so, the error persists exclusively when the console is connected to Wi-Fi. Other devices, such as a cellphone and a notebook, work normally on the same network. Support has not been able to resolve the issue so far.
I have been experiencing the same problem for a long time in Minecraft. I cannot access the Marketplace or Realms, and it is also not possible to invite friends to my world or play in their worlds. I have already carried out all the technical procedures requested by support, such as resetting the network settings, manually configuring the IP and DNS (1.1.1.1 and 9.9.9.9), checking that the NAT is open, formatting the console, reinstalling the game, and confirming that the Xbox system is up to date. Even so, the error persists exclusively when the console is connected to Wi-Fi. Other devices, such as a cellphone and a notebook, work normally on the same network. Support has not been able to resolve the issue so far.