Welcome to Microsoft Community. Let me try to assist you with your concern, about receiving a message with a reference code and unable to access your email account on your Apple devices.
I understand how tough to each and everyone of you having this kind of issue with your devices. Does the issue occur using a different email account? Is this the first time that this have happened on your device? There have been
some reports by user's who are having similar issues. Does the issue also occur when accessing your account using your mobile's default internet browser?
As an initial troubleshooting, please
reconfigure your account or remove and re-add your account from the devices and check if the issue will persists. We also like you to try other Microsoft account as well.
We are looking forward to your response.
14 people were helped by this reply
Did this solve your problem?
Sorry this didn't help.
Great! Thanks for marking this as the answer.
How satisfied are you with this reply?
Thanks for your feedback, it helps us improve the site.