I was just working on an Azure web site that needs to work on https only. I came across this solution that pointed me in the right direction:http://blogs.msdn... as pointed out in the comments, there are curly quotes in the code that prevents compilation. Furthermore, the rule name does not allow spaces, which does not prevent compilation, but simply makes it not work. After removing the spaces, it worked perfectly. ......