Redirect configuration must exclude files such as favicon.ico that occur during the One Time Passcode process. There are many ways to configure HTTP Redirect such as by using the built-in HTTP Redirect module, the URL Rewrite module, or load balancer–based redirects. Contact the administrator who set up the redirect to assist with adjusting the redirect configuration.
Sample redirect configurations
URL RewriteIf the server is already configured with URL Rewrite–based redirection, adding an additional rule as follows
above the existing rule will cause all requests for favicon.ico to be ignored when the URL Rewrite rules run:
<rule name="Ignore favicon.ico" stopProcessing="true">
< match url="^favicon.ico$" />
< conditions logicalGrouping="MatchAll" trackAllCaptures="false" />
< action type="None" />
</rule>
HTTP RedirectIf the server is configured with HTTP Redirect–based redirection, setting the enabled flag to
False for the favicon.ico file will cause the HTTP Redirect module to ignore requests for favicon.ico. You can do this by running the following AppCmd line:
appcmd.exe set config "Default Web Site/favicon.ico" -section:system.webServer/httpRedirect /enabled:"False" /commit:Site