Hi,
Please access the link below: https://www.xbox.com/en-US/user/settings/privacy-and-safety?xr=mebarnav
Log in with your Microsoft account > after logging in, go to the Online Security tab, then to Xbox and Windows 10 devices and enable the options.
Now, I must remind you that if you are on the Microsoft Family Plan and you are a child, your parents or guardians must complete the procedure for authorization.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Thanks