The witness server and directory currently in use by database availability group '{0}' doesn't match the configured primary ...

The witness server and directory currently in use by database availability group '{0}' doesn't match the configured primary or alternate witness server. This may be due to Active Directory replication latency. If this condition persists, please use the Set-DatabaseAvailabilityGroup cmdlet to correct the configuration.