I need to know how EXACTLY to set a SPN for a new gMSA that I am about to create. I have read many articles for creating a gMSA, but they all have a generic "SPN1, SPN2" for the examples or something referencing SQL instances for the SPN. What is the format or wording that the SPN needs to be set to?
I am creating our first gMSA in AD (Domain functional level is 2016) and this one will be only for scheduled tasks on one or two servers to start with. Then I will look into creating one for SQL services after I get this correct.
If I create a gMSA with the name as "TaskAcct", then do I create a SPN for it like "http\taskacct? How do I do this. I feel there is very little to no documentation on how to do this correctly. If I set one up for a SQL service, or any other service for an application to run as that account, what would the SPN look like?
I checked this but that didn't help much.