When you move the database for ADFS to a new SQL server use these commands to change the location.
$adfs= GEt-WmiObject -namespace root/ADFS -class SecurityTokenService$adfs.ConfigurationdatabaseConnectionstring="data source=[insertsqlservername\andinstance];initial catalog=adfsconfiguration;integrated security=true"$adfs.put()
Set-AdfsProperties –artifactdbconnection ”Data source=<SQLCluster\SQLInstance >;Initial Catalog=AdfsArtifactStore;Integrated Security=True”
Comments
Post a Comment