{"id":1202,"date":"2013-03-21T00:46:57","date_gmt":"2013-03-21T00:46:57","guid":{"rendered":"https:\/\/pipe2text.com\/?page_id=1202"},"modified":"2013-11-12T16:46:17","modified_gmt":"2013-11-12T16:46:17","slug":"enable-security-auditing-in-adfs-2-0","status":"publish","type":"page","link":"https:\/\/pipe2text.com\/?page_id=1202","title":{"rendered":"Enable Security Auditing in ADFS 2.0"},"content":{"rendered":"<p>Hi all,<\/p>\n<p>A very useful tool that can be used to get a better look at what is what is happening on your ADFS servers and for troubleshooting purposes is to enable security auditing for ADFS. This will log ADFS security events to the Security log in event viewer. There are easy steps that you need to take to get this working.<\/p>\n<p>Step 1\u00a0 &#8211;\u00a0Grant the ADFS service account the &#8220;Generate security audits&#8221; right on the ADFS server.\u00a0To do this, open the local security policy on the server\u00a0gpedit.msc\u00a0(can also be done thru GPO for multiple servers). Navigate to &#8220;Windows Settings\\Local Policies\\User Rights Assignment&#8221; and add the ADFS Service Account to have the &#8220;Generate security audits&#8221; right.<\/p>\n<p>Step 2 &#8211; Run the following command from the command prompt:<\/p>\n<p>auditpol.exe \/set \/subcategory:&#8221;Application Generated&#8221; \/failure:enable \/success:enable<\/p>\n<p>Step 3 &#8211; In the ADFS console, right click &#8220;ADFS 2.0&#8221; and choose &#8220;Edit Federation Service Properties&#8221; when the &#8220;Federation Service Properties&#8221; dialogue box appears choose the Events tab and select &#8220;Success Audits&#8221; and Failure Audits&#8221; as shown below.<a href=\"https:\/\/pipe2text.com\/wp-content\/uploads\/2013\/03\/ADFSSECAUDIT.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1204\" title=\"ADFSSECAUDIT\" alt=\"\" src=\"https:\/\/pipe2text.com\/wp-content\/uploads\/2013\/03\/ADFSSECAUDIT.jpg\" width=\"341\" height=\"343\" srcset=\"https:\/\/pipe2text.com\/wp-content\/uploads\/2013\/03\/ADFSSECAUDIT.jpg 341w, https:\/\/pipe2text.com\/wp-content\/uploads\/2013\/03\/ADFSSECAUDIT-150x150.jpg 150w, https:\/\/pipe2text.com\/wp-content\/uploads\/2013\/03\/ADFSSECAUDIT-298x300.jpg 298w\" sizes=\"auto, (max-width: 341px) 100vw, 341px\" \/><\/a><\/p>\n<p>Now that you have complete the steps you will begin to see events in the Security log of the event viewer for ADFS as shown below.<\/p>\n<p><a href=\"https:\/\/pipe2text.com\/wp-content\/uploads\/2013\/03\/ADFSSECAUDITEventvwr.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1205\" title=\"ADFSSECAUDITEventvwr\" alt=\"\" src=\"https:\/\/pipe2text.com\/wp-content\/uploads\/2013\/03\/ADFSSECAUDITEventvwr.jpg\" width=\"733\" height=\"138\" srcset=\"https:\/\/pipe2text.com\/wp-content\/uploads\/2013\/03\/ADFSSECAUDITEventvwr.jpg 733w, https:\/\/pipe2text.com\/wp-content\/uploads\/2013\/03\/ADFSSECAUDITEventvwr-300x56.jpg 300w\" sizes=\"auto, (max-width: 733px) 100vw, 733px\" \/><\/a><\/p>\n<p>You are now finished enabling ADFS Security Auditing. I hope this helps!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hi all, A very useful tool that can be used to get a better look at what is what is happening on your ADFS servers and for troubleshooting purposes is to enable security auditing for ADFS. This will log ADFS &hellip; <a href=\"https:\/\/pipe2text.com\/?page_id=1202\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"class_list":["post-1202","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/1202","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/pipe2text.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1202"}],"version-history":[{"count":16,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/1202\/revisions"}],"predecessor-version":[{"id":1215,"href":"https:\/\/pipe2text.com\/index.php?rest_route=\/wp\/v2\/pages\/1202\/revisions\/1215"}],"wp:attachment":[{"href":"https:\/\/pipe2text.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1202"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}