Hello
we had some issues with autodiscover conguration client are not able to auto setup thier outlook profile so i remove the virtual directory by using the below command
Remove-AutodiscoverVirtualDirectory -Identity "cas1\Autodiscover (Default Web Site)"
and it was removed fine now im trying to create the directory again but i got this error
[PS] C:\Windows\system32>New-AutodiscoverVirtualDirectory -WebSiteName "Default Web Site" -BasicAuthentication $true -WindowsAuthentication $true
Argument: -Role ClientAccess
+ CategoryInfo : InvalidArgument: (:) [New-AutodiscoverVirtualDirectory], ArgumentException
+ FullyQualifiedErrorId : DD125126,Microsoft.Exchange.Management.SystemConfigurationTasks.NewAutodiscoverVirtualDirectory
+ PSComputerName : cas1.domain.com
thank you.