WebAdministrationDsc icon indicating copy to clipboard operation
WebAdministrationDsc copied to clipboard

xWebsite: No examples for AuthenticationInfo

Open beaudryj opened this issue 8 years ago • 1 comments

I tried setting it up as

AuthenticationInfo = @(
MSFT_xWebAuthenticationInformation{
    Anonymous = $true
}
)

And it fell hard on its face

beaudryj avatar Feb 13 '17 20:02 beaudryj

I believe what its looking for will be similar to WebApplication:

https://github.com/PowerShell/xWebAdministration/blob/dev/Examples/Sample_xWebApplication.ps1#L30

Specifically:

        AuthenticationInfo = `
            MSFT_xWebApplicationAuthenticationInformation
            {
                Anonymous = $true
                Basic     = $false
                Digest    = $false
                Windows   = $false
            }

Though it does look like we need to update the examples. I have a branch that is doing some of this so I'll assign the issue to myself.

tysonjhayes avatar Feb 13 '17 21:02 tysonjhayes