Hello :)
I’m trying to change authorization rules using A powershell script (It doesn’t really matter to me the way of doing it, as long as it done from the command line and not throw the GUI (Powershell, Cmd, AppCmd, even change the web.config with code.. whatever will work is fine).
The changes I want to do is or add a specific Allow rule for a specific user or to remove the Deny All user rule. (The fine result should be that a user name “test” will be able to open my website, its fine that all users in the domain will be able to (The reason I cant do it now is becasue of the Deny all users rule).
I tried any possible command I was able to find online but nothing really works (it seems commands like Add-WebConfigurtaion, RemoveWebConfigurtaio, are runing with no errors but still the authorization roles are not changing)
Thank you for the help!
I’m trying to change authorization rules using A powershell script (It doesn’t really matter to me the way of doing it, as long as it done from the command line and not throw the GUI (Powershell, Cmd, AppCmd, even change the web.config with code.. whatever will work is fine).
The changes I want to do is or add a specific Allow rule for a specific user or to remove the Deny All user rule. (The fine result should be that a user name “test” will be able to open my website, its fine that all users in the domain will be able to (The reason I cant do it now is becasue of the Deny all users rule).
I tried any possible command I was able to find online but nothing really works (it seems commands like Add-WebConfigurtaion, RemoveWebConfigurtaio, are runing with no errors but still the authorization roles are not changing)
Thank you for the help!