Error: An error occurred: "Microsoft.Rtc.Common.Data.SqlConnectionException" "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication."

 

You can see the below detailed error from install log.

└ Error: An error occurred: "System.UnauthorizedAccessException" "Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))"

 

To reslove this issue you can make sure that the name of the FQDN you specify for the pool (during the topology wizard) matches that of the server name FQDN - I had the problems described above until I did that. My lab server name was lync2010 but in the pool fqdn I just set that to lync.labdomainname.local

When I tried to access file shares using the lync.labdomainname.local name it did not work and kept prompting for credentials which I knew were correct, changed to pool FQDN to lync2010.labdomainname.local and hey presto it worked!

 

Another cause of this issue may be firewall blocked the Lync traffic. You can follow the steps in the below article to check the firewall settings.

Publishing the Lync Server Enterprise Edition topology fails when the Central Management Store is created