首页 > 代码库 > SharePoint server error in '/securitytokenserviceapplication' application. value cannot be null. parameter name certificate

SharePoint server error in '/securitytokenserviceapplication' application. value cannot be null. parameter name certificate

$h = Get-SPServiceHostconfig
$h.Provision()
$services = Get-SPServiceApplication
foreach ($service in $services) { $service.provision(); write-host $service.name}

 

SPPS内运行上面的脚本 问题解决。具体错误原因还未找到。

 

SharePoint server error in '/securitytokenserviceapplication' application. value cannot be null. parameter name certificate