Hi,
I am Tanvi, and I would be happy to assist you today!
Firstly, Check Nintendo Switch Parental Controls- This is the most likely culprit.
- Access the parental controls settings on your Nintendo Switch.
- Look for a setting related to "online play" or "communication with others."
- Adjust the settings to allow Minecraft to have online multiplayer.
https://www.nintendo.com/us/switch/parental-con...*%20To%20get%20started%2C%20visit%20accounts,the%20support%20page%20for%20details.
Secondly, Verify Microsoft Account Settings-
1. Sign in to your child's Microsoft account on a computer or Xbox.
2. Navigate to privacy settings.
3. Ensure "Communicating with others" is set to an appropriate level (likely "Allow").
Additionally, Make sure you have an active Nintendo Switch Online subscription. Minecraft online multiplayer requires it.
Disclaimer:
The link included is a non-Microsoft website that would provide accurate and safe information. Watch out for ads on the site that are frequently classified as PUP (Potentially Unwanted Products). There is no need to buy paid products to fix your computers as they sometimes do more harm than good.
I hope this information helps. Please let me know if you have any other queries.
Good day