I have only chosen to use Windows Auth on my IIS site deploy step. I get Windows and Forms Auth every time. I can manually remove it after the deploy, but it returns on the next.
Am I missing something? I don’t see an option to remove the Forms Auth from the IIS config or an easy way (maybe PS script?) to remove it after the fact? Reviewing the logs I see OD is not explicitly adding it so I assume it’s maybe a default? I’d rather not try to disable Forms Auth by default across the server but I guess that’s another option…
Thanks for getting in touch! Could you enable the debugging variables,then create a new release and send us a raw deployment log? I’d like to double check the values that are being passed to the deployment step.
Octopus doesnt enable Forms auth by default, and like you mentioned there are no signs on the log that this is being done during the deployment.
Is it possible that you have enabled this feature from your web.config, and IIS is inheriting that config from there? It should look something like this