Restarting Xcode worked for me as well
Post
Replies
Boosts
Views
Activity
What worked for me was a combination of:
Changing my currency from United Stated dollar to something else (and back) on App store connect -> Users and Access
Deleting and re-adding my Apple ID on Xcode -> Preferences -> Accounts
Disabling and re-enabling of 'Automatically manage signing' on Xcode -> Target-> my app -> Signing and Capabilities
It took a few hours for the new team to show but it showed eventually. I had to be patient for a few hours.