{"id":551,"date":"2013-06-26T12:23:15","date_gmt":"2013-06-26T16:23:15","guid":{"rendered":"http:\/\/rajdude.com\/blog\/?p=551"},"modified":"2013-06-26T12:23:15","modified_gmt":"2013-06-26T16:23:15","slug":"querying-for-spns","status":"publish","type":"post","link":"https:\/\/rajdude.com\/blog\/querying-for-spns\/","title":{"rendered":"Querying for SPNs"},"content":{"rendered":"<p>While troubleshooting connectivity problems in VMM 2012 I had to query AD to check if SPNs have been created for the service account used to run VMM. Here is what I used to query AD:<\/p>\n<blockquote>\n<p>setspn \u2013l Domain_name\\VMM_service_account_name<\/p>\n<\/blockquote>\n<p>Incidentally, this showed me that I have two SPNs for this service account. One was for the current VMM server and the second one was for the old VMM server. I had an old VMM server at one time. Then I killed it and created a new VMM server.<\/p>\n<p>I deleted the old SPN using this command:<\/p>\n<blockquote>\n<p>setspn -d SCVMM\/VMM_server_name Domain_name\\VMM_service_account_name<\/p>\n<\/blockquote>\n<p>PS: Microsoft PSS told me to do this.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While troubleshooting connectivity problems in VMM 2012 I had to query AD to check if SPNs have been created for the service account used to run VMM. Here is what I used to query AD: setspn \u2013l Domain_name\\VMM_service_account_name Incidentally, this showed me that I have two SPNs for this service account. One was for the current VMM server and the second one was for the old VMM server. I had an old VMM server at one time. Then I killed it and created a new VMM server. I deleted the old SPN using this command: setspn -d SCVMM\/VMM_server_name Domain_name\\VMM_service_account_name PS: Microsoft PSS told me to do this.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[73,80],"class_list":["post-551","post","type-post","status-publish","format-standard","hentry","category-itsys","tag-scvmm-2012","tag-spn"],"_links":{"self":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/551","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/comments?post=551"}],"version-history":[{"count":0,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/posts\/551\/revisions"}],"wp:attachment":[{"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/media?parent=551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/categories?post=551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rajdude.com\/blog\/wp-json\/wp\/v2\/tags?post=551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}