sous-chefs/iis

iis_app ability to set physical_path user name and password

barracksbuilder opened this issue · 0 comments

Cookbook version

7.2.0

Chef-client version

14.14.29

Platform Details

WIndows Server 2019 (Version 1809)

Scenario:

iis_app, trying to set a user name and password for the virtual directory

Steps to Reproduce:

Don't see an option in iis_app to set the user name and password for the physical_path.

Expected Result:

Connect as setting to be set to user name and password opposed to pass-through.

Actual Result:

Not able to find a setting to achieve this. I tried to trick IIS into using a new app pool with the user name and password set on that pool however, IIS complains about the application running 2 different app pools and gives an access denied. Seems like the only way is to set the user name and password in the virtual application settings. I could not find a powershell command either.