With this step template - http://library.octopusdeploy.com/#!/step-template/actiontemplate-iis-application-create
The resulting application is created, but only Windows Authentication is enabled -
Is there a way to modify the step template to also enable Anonymous Authentication?
You can modify the template and then submit a pull request to us. If the fix makes sense, we’ll upload it to the library
Yea, I know -
I was more asking what I’d need to do!
Sorry about that! by the way you phrased that I thought you knew what to do :).
You should be adding a Powershell line to add this authentication method to the web app. This thread seems to show how to do it:
It should go on the
If and the
else right at the bottom
This would make the script ALWAYS set the webapps with Anon auth. If you want to be able to choose whether to use this setting or not, you’re gonna have to add a field to the template on the json, and then execute that line or not on the Powershell script based on the value set to that field.