On the Azure end Under “TLS/SSL settings,” turn on “HTTPS Only.” This forces all HTTP traffic to be redirected to HTTPS. If this is set correctly then you need to review/add HSTS settings in your app code.
You can mark it 'Accept Answer' and 'Upvote' if this helped you
Regards,
Abiola