I think the error message is misleading (as with most Microsoft errors!) - The error code looks very simular to a SMTP error and 5.7.1 is a relay error. You may need to specify your development/production public IP address using the admin portal provided by Microsoft.