Azure App Service - Forcefully Redirecting From HTTP To HTTPS The Easy Way

In this blog, you will learn about Azure App Service – Forcefully redirecting from HTTP to HTTPS the easy way.

The easiest, most non-techie way is to add the ‘Redirect HTTP to HTTPS’ Extension created by Greg Hogan (https://github.com/gregjhogan)
 
In the Azure Portal, select ‘Extensions’ in the App Service blade
 
 
Add a new Extension by clicking on the ‘+Add’ button at the top

Select the ‘Redirect HTTP to HTTPS’ extension from the list given.
 
 
Agree to the T&C’s

Wait until it’s installed and then restart the service (which you can find in the ‘Overview’).
 
After this when you access the website with HTTP or without HTTP/https, it will automatically redirect to https.