Hello catina1973,
We have a great support article that might help with this. Please take a look at it here: Get the Apple Music app on your smart TV, game console, or streaming device - Apple Support. Follow this guidance to set it up:
"Set up the Apple Music app
- Go to your device's app store and download the Apple Music app. If you don't see the Apple Music app, then your device might not be supported or the Apple Music app isn't available in your country or region.
- Open the Apple Music app.
- Follow the onscreen steps to sign in with your Apple ID and complete setup:
- Sign in using your mobile device: Use the camera on your phone to scan the QR code on your screen. Then follow the instructions on your mobile device to sign in with your Apple ID and finish setup.
- Manually sign in: Use your remote or controller to sign in with your Apple ID in the Apple Music app or web browser and finish setup.
Some content in your music library might not be available in the Apple Music app on your smart TV, game console, or streaming device."
If the issues persist and you still cannot use Apple Music, we advise reaching out to Microsoft directly for more assistance in setup and configuration of the app: Microsoft Xbox - Contact Us.
We hope this helps. Let us know if we can assist with anything else at all. Take care.