I wasn't receiving invitations through xbox game bar so looked online to fix. https://answers.microsoft.com/en-us/windows/forum/all/i-dont-get-party-invites-on-my-xbox-game-bar/22339641-b32c-4f0c-990d-d86ab859954c#:~:text=Open%20the%20Settings%20app%20and%20go%20to%20the%20Gaming%20section.&text=Open%20the%20Xbox%20Companion%20App,and%20enable%20Party%20%26%20game%20invitations.
After using this persons advice, not only did I sill not get invites, but my xbox game bar no longer works when trying to open with windows+g? Someone attempted to help me, removing gaming services and reinstalling using powershell but that didn't do anything. Not sure what to do. Anyone got a similar issue?