Hotmail issues when away from home network
I've been using Hotmail with my MacBook Pro for years with very few issues but recently when I am using a network away from home I keep getting a message 'Unable to verify name or password'. On a number of occasions rebooting or deleting the mail account and reconnecting has worked but not consistently. As I am writing this I have tried everything and the only way I can get it to connect is via a hotspot on my phone. I don't want to use my limited data so this is not a good workaround.
Details: MacBook Pro Late 2013
Big Sur Version 11.7.10
Does anyone have any suggestions, many thanks.
MacBook Pro 13″, macOS 11.7