1. Go to your Xbox account settings.
  2. On the left, press Privacy & online safety.
  3. Near the middle of the screen, press Xbox One/Windows 10 Online Safety.
  4. Scroll down until you find You can join multiplayer games, then choose Allow.
  5. Press the green Submit button.
  6. In Lunar Client, relog into your Minecraft account.