SQL Server - Login failed. The login is from an untrusted domain and cannot be used with Windows authentication
I believe the issue is the client machine's domain isn't trusted by the remote server when logging in via Windows Authentication in SSMS. You should still be able to login with your AD credentials from your local SSMS client by switching the Authentication mode from Windows Authentication to Azure Active Directory - Password.
If you run into the subsequent error &quot;The certificate chain was issued by an authority that is not trusted&quot; then you can tell SSMS to trust it manually by clicking the &quot;Options&quot; button on the Login window. Then under the &quot;Connection Properties&quot; tab, check off the &quot;Trust server certificate&quot; checkbox. Then click the &quot;Connect&quot; button.
Screenshot Example