修改用户登录OWA和ECP的身份验证

1、在default web site的owa目录下,选择身份验证,基本身份验证中,加入域名xxx.cn
解决了owa目录报错(已损坏且处于不一致的状态)的问题
2、再用
Set-OwaVirtualDirectory –Identity “CasServerName\owa (Default Web Site)” –FormsAuthentication:$True
启用owa目录的forms验证
3、重启服务器后,用命令检查,OWA和ECP都是basic加forms验证了。
Get-OwaVirtualDirectory | fl Authentication
Get-EcpVirtualDirectory | fl Authentication
4、验证,可以成功登录OWA和ECP,都是forms验证