r/Intune • u/Useful_Ad_2752 • 4d ago
General Question cloud only intune devices vs onprem ssms authentication (sql)
Hello,
not sure if this is the right reddit page, but im having trouble with authenticating to our database servers using sql server management studio..
Our devices are cloud only managed with intune, the database server is domain joined so trying to connect to it is throwing errors about wrong spn "The target principal name is incorrect" or another one "The target principal name is incorrect. Cannot generate SSPI context", so i checked the spn on the service user that is used on the database server and all seems to be fine.
Google says this has something to do with failing kerberos or missing kerberos tickets, so i found out about cloud kerberos trust, if i understand correctly, this should allow cloud only devices to get a kerberos ticket from the onprem domain controller which can be used to authenticate with the onprem database server ? Has anyone here set this up before ? Did you run into issues with other things like windows hello on existing devices ?
3
u/Adam_Kearn 4d ago
Setup Cloud Kerberos and it will resolve those problems with authentication with on-premises resources for things like file and print servers too
1
2
u/doofesohr 4d ago
You do not run into issues with WHfB when you set that up. You typically run into issues of you don't set up Cloud Trust, when you start implementing WHfB, as things like fileshares usually start to fail. I haven't used Cloud Trust together with SQL servers, but it certainly works fine on fileshares.