Hey there,
Sorry for the inconvenience.
Like MikeLitoris just posted above, according to the regulations of the Xbox platform, when playing a prepaid online game, you need to enable the XGP (Xbox Game Pass) feature.
For more information, you can contact the Xbox customer service team. They will be more than happy to assist you and provide support.
Thank you for your understanding and support!
LiveHavoc