r/SQLServer • u/Jaepheth • Feb 17 '26
Question Windows login question
Trying to create a new login using Windows authentication through SSMS.
The systems admin created a GMSA service account for me, but it doesn't show up when I search for it. ("Service account" is checked in object type)
What account property(s) make an account discoverable to SSMS?
UPDATE: Thanks for the advice everyone. This turned out to be a security policy issue.
5
Upvotes
•
u/AutoModerator Feb 21 '26
After your question has been solved /u/Jaepheth, please reply to the helpful user's comment with the phrase "Solution verified".
This will not only award a point to the contributor for their assistance but also update the post's flair to "Solved".
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
4
u/clitoral_damage Feb 17 '26
Are you only looking on your local server. Try changing ot to "entire directory"
2
u/dbrownems Microsoft Employee Feb 18 '26 edited Feb 18 '26
You don't need to discover it. Just type it
create login [YourDomain\YourGMSA] from windowsBut you shouldn't create logins for your local service accounts in the first place. A service doesn't lose its virtual account when you change the service account. The logins for "NT SERVICE\MSSQLSERVERAGENT" and "NT SERIVCE\MSSQLSERVER" should still work.