The easiest, non techie way is to add the ‘Redirect HTTP to HTTPS’ Extension kindly 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 till 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.
Top 10 comments