Install & Configure ADFS in Windows Server 2012 R2

By | 05/05/2017

Active Directory Federation Services (AD S) in the Windows Server 2012 R2 OS provides flexibility for organizations that want to enable their users to log on to applications that are located on a local network, at a partner company, or in an online service.

With ADFS, your company can manage its own user accounts, and users only have to remember one set of credentials.

However, those credentials can provide access to a variety of applications, which typically are located in different locations.

ADFS is compliant with common Web services standards, thus enabling interoperability with identity federation solutions that other vendors provide.

AD FS addresses a variety of business scenarios where the typical authentication mechanisms used in an organization do not work.

More info & reading :

For this basic ADFS demo, i’m using my previous VM which is my domain controller (DC1), member server (SVR1) and 1 windows 8.1 client PC…

1st – Create a DNS record for AD FS

1 – On Domain controller (DC1) server, open DNS console and add new host…


2 – In the New Host box, type adfs, in the IP address box, type, and then click Add Host…


3 – Then click OK…


** before we proceed, make sure you create a new AD user called adfsService…

2nd – Install AD FS

1 – Still on the DC1 domain server, open server manager, click Add Roles and Features, proceed the step until you get Select server roles interface, and then click Active Directory Federation Services, then proceed with next…


2 – On the Select features interface, click Next…


3 – On the Active Directory Federation Services (AD FS) interface, click Next…


4 – then click Install…


5 – Once the installation completed, click Configure the federation service on this server


3rd – Configure AD FS

1 – on the Welcome interface, click Create the first federation server in a federation server farm, and then click Next…


2 – On the Connect to Active Directory Domain Services interface, proceed with Next…


3 – On the Specify Service Properties interface, in the SSL Certificate box, select

** In the Federation Service Display box, type Adatum Organization, and then click Next…


4 – On the Specify Service Account interface, click Use an existing domain user account or group Managed Service Account and then choose adfs user that you created previously, and then click next…


5 – On the Specify Configuration Database interface, click Create a database on this server using Windows Internal Database, and then click Next…


6 – On the Review Options interface, click Next…


7 – On the Pre-requisite Checks interface, verify that all prerequisite passed and then click Configure…



8 – On the Results interface, click Close…

** Please take note that certificate was preconfigured for this task. In your own environment, you need to obtain this certificate.


9 – to verify the ADFS functionality, log in to Windows 8.1 client PC as a AD user, and the open IE and type :,  and then verify that the file loads successfully…



4th – Configure a certificate for the application

1 – Now switch to SVR1 server and open Internet Information Services (IIS) Manager and then open Server


2 – then click Create Domain Certificate…


3 – In the Create Certificate interface on the Distinguished Name Properties, enter the following information (please refer to snapshot), and then click Next…



4 – On the Online Certification Authority interface, click Select…


5 – click AdatumCA, and then click OK…


6 – On the Online Certification Authority interface, in the Friendly name box, type Adatum Apps Certificate, and then click Finish…


7 – In IIS Manager, expand Sites, click Default Web Site, and then click Bindings…


8 – In the Site Bindings interface, click Add…


9 – In the Add Site Binding interface, in the Type box, select https, then in the SSL certificate box, select Adatum Apps Certificate, and then click OK…


5th – Configure the Active Directory claims-provider trust

1 – Switch to DC1 server, and open AD FS Management, expand Trust Relationships, and then click Claims Provider
Trusts, in the middle pane, right-click Active Directory, and then click Edit Claim Rules…


2 – In the Edit Claims Rules for Active Directory interface, on the Acceptance Transform Rules tab, click Add Rule…


3 – In the Claim rule template box, select Send LDAP Attributes as Claims, and then click Next…


4 – On the Configure Rule interface, in the Claim rule name box, type Outbound LDAP Rule, then in the Attribute Store drop-down list, select Active Directory.

** In the Mapping of LDAP attributes to outgoing claim types section, select the following values and then click Finish:


5 – Then click OK…


6th – Configure the application to trust incoming claims

1 -Switch to SVR1 server, and then open Windows Identity Foundation Federation Utility console….

2 – On the Welcome to the Federation Utility Wizard interface, in the Application configuration location box, type C:\inetpub\wwwroot\AdatumTestApp\web.config for the location of the sample web.config file…

** In the Application URI box, type to indicate the path to the sample application that will trust the incoming claims from the federation server, and then click Next to continue…


3 – On the Security Token Service page, click Use an existing STS, in the STS WS-Federation metadata document location box, type, and then click Next to continue…


4 – On the STS signing certificate chain validation error interface, click Disable certificate chain validation, and then click Next…


5 – On the Security token encryption interface, click No encryption, and then click Next…


6 – On the Offered claims interface, click Next…


7 – and then click Finish and OK…


7th – Configure a relying-party trust for the claims-aware application

1 – Now switch to DC1 domain server, in the ADFS console, right-click Relying Party Trusts, and then click Add Relying Party Trust…


2 – on the Welcome interface, click Start…


3 – On the Select Data Source interface, click Import data about the relying party published online or on a local network…

** In the Federation Metadata address (host name or URL) box, type, and then click Next. This downloads the metadata configured in the previous task…


4 – Next in the Display name box, type Adatum Test Apps, and then click Next…


5 – On the Configure Multi-factor Authentication Now interface, click I do not want to configure multifactor
authentication settings for this relying party trust at this time, and then click Next…


6 – On the Choose Issuance Authorization Rules interface, click Permit all users to access this relying party, and then click Next…


7 – On the Ready to Add Trust interface, click Next…


8 – On the Finish interface, click Close…


8th – Configure claim rules for the relying-party trust

1 – still in DC1 domain server, in the Edit Claim Rules for Adatum Test Apps interface, on the Issuance Transform Rules tab, click Add Rule…


2 – In the Claim rule template box, select Pass Through or Filter an Incoming Claim, and then click Next…


3 – In the Claim rule name box, type Pass through Windows account name…

** In the Incoming claim type drop-down list, click Windows account name, and then click Finish…


4 – On the Issuance Transform Rules tab, click Add Rule…


5 – In the Claim rule template box, select Pass Through or Filter an Incoming Claim, and then click Next…


6 – In the Claim rule name box, type Pass through E-Mail Address…

** In the Incoming claim type drop-down list, click E-Mail Address, and then click Finish…


7 – On the Issuance Transform Rules tab, click Add Rule…


8 – In the Claim rule template box, select Pass Through or Filter an Incoming Claim, and then click Next…


9 – In the Claim rule name box, type Pass through UPN…

** In the Incoming claim type drop-down list, click UPN, and then click Finish…


10 – On the Issuance Transform Rules tab, click Add Rule…


11 – In the Claim rule template box, select Pass Through or Filter an Incoming Claim, and then click Next…


12 – In the Claim rule name box, type Pass through Name…

** In the Incoming claim type drop-down list, click Name, and then click Finish…


13 – Then click OK…


14 – Now switch to Windows 8.1 Client PC, log in as domain user and then open IE, then type https://lon-…

** Notice that Windows Security window will pop out, then sign in as domain user…


15 – verify that the claim information is displays….


9th – Configure IE to pass local credentials to the application automatically

1 – Still in Windows 8.1 client PC IE, then open Internet Options…

** In the Internet Options Properties interface, click Security tab, click Local intranet, and then click Sites…


2 – In the Local intranet interface, click Advanced…


3 – In the Local intranet interface, in the Add this website to the zone box, insert and, and then click Close, and click OK twice…


4 – Then in the IE, type, notice that you were not prompted for credentials…

That’s all for now, we have successfully installed and configured ADFS, and verified that it is functioning by viewing the FederationMetaData.xml file contents. We also have successfully configured ADFS to support authentication for an application.


130 thoughts on “Install & Configure ADFS in Windows Server 2012 R2

  1. employment issues advice

    Oh my goodness! Incredible article dude! Thank you, However I am having problems with your RSS. I don’t know why I am unable to subscribe to it. Is there anybody else getting similar RSS issues? Anyone that knows the solution can you kindly respond? Thanx!!

  2. educational sites

    No matter if some one searches for his necessary thing, so he/she wants to be available that in detail, so that thing is maintained over here.

  3. best medical websites

    I was suggested this website by way of my cousin. I am not certain whether or not this publish is written by him as no one else recognize such specified approximately my trouble. You’re amazing! Thank you!

  4. financial advisor business

    It’s perfect time to make some plans for the longer term and it is time to be happy. I have learn this publish and if I may just I wish to counsel you some fascinating issues or advice. Perhaps you could write next articles regarding this article. I want to read more issues approximately it!

  5. small business adviser

    Its such as you read my thoughts! You seem to understand so much approximately this, such as you wrote the e book in it or something. I believe that you simply can do with some p.c. to drive the message house a little bit, however other than that, this is excellent blog. An excellent read. I will certainly be back.

  6. income investing

    Aw, this was an incredibly nice post. Spending some time and actual effort to create a great article… but what can I say… I hesitate a whole lot and never seem to get nearly anything done.

  7. family

    Article writing is also a excitement, if you know after that you can write or else it is complex to write.

    1. Jackson Thomas Post author

      Thanks You!Please Subscribe to receive new posts everyday via Email.

  8. ordering cigarettes online in usa

    Fantastic put up! This might assist a number of folks discover out about this matter. Do you need to incorporate video clips together with these? It may undoubtedly assist out. Your purpose was spot on and owing to you; I most likely will not have to explain everything to my pals. I can simply direct them here. Anyway, in my language, there will not be a lot good supply like this.
    ordering cigarettes online in usa

  9. patagonia outlet santa cruz

    I was wondering if you ever considered changing the layout of your blog? Its very well written; I love what youve got to say. But maybe you could a little more in the way of content so people could connect with it better. Youve got an awful lot of text for only having one or two images. Maybe you could space it out better?
    patagonia outlet santa cruz

    1. Jackson Thomas Post author

      Please subscribe via email to receive new post.Thanks

  10. buy cigarettes online usa only

    This is some helpful stuff. It took me a while to unearth this website but it was worth the time. I noticed this page was hidden in google and not the number one spot. This web page has a lot of high-quality material and it doesnt deserve to be burried in the search engines like that. By the way Im going to add this web publication to my list of favorites.
    buy cigarettes online usa only

    1. Jackson Thomas Post author

      Thanks. I don’t have SEO website on google. Please subscribe to receive new post via email everyday you should using Chrome to subsrcibe.Thanks

  11. rene caovilla new york

    Please tell me that youre heading to keep this up! Its so beneficial and so important. I cant wait to read more from you. I just feel like you know so a lot and know how to make people listen to what you have to say. This blog is just also cool to be missed. Fantastic stuff, actually. Please, PLEASE keep it up!
    rene caovilla new york

  12. keen shoe store

    It is perfect time to make some plans for the future and it is time to be happy. Ive read this post and if I could I wish to suggest you few interesting things or advice. Maybe you could write next articles referring to this article. I want to read even more things about it!
    keen shoe store

  13. online degrees

    Hey! I’m at work surfing around your blog from my new iphone 3gs! Just wanted to say I love reading through your blog and look forward to all your posts! Keep up the excellent work!

  14. school education

    When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get three e-mails with the same comment. Is there any way you can remove me from that service? Thanks!

  15. education tips

    It’s actually a cool and helpful piece of information. I am glad that you shared this useful information with us. Please stay us up to date like this. Thanks for sharing.

  16. business finance websites

    Having read this I thought it was really enlightening. I appreciate you taking the time and effort to put this content together. I once again find myself spending way too much time both reading and leaving comments. But so what, it was still worth it!


    With havin so much content do you ever run into any problems of
    plagorism or copyright violation? My site has a lot of completely
    unique content I’ve either written myself or outsourced but it appears a lot of
    it is popping it up all over the internet without my agreement.
    Do you know any ways to help prevent content from being stolen? I’d
    really appreciate it.

  18. education tips

    I know this if off topic but I’m looking into starting my own weblog and was wondering what all is needed to get set up? I’m assuming having a blog like yours would cost a pretty penny? I’m not very internet savvy so I’m not 100% sure. Any recommendations or advice would be greatly appreciated. Thanks

  19. online education programs

    Howdy! Do you know if they make any plugins to help with Search Engine Optimization? I’m trying to get my blog to rank for some targeted keywords but I’m not seeing very good gains. If you know of any please share. Thank you!

  20. online education

    I’m not sure where you’re getting your information, but great topic. I needs to spend some time learning much more or understanding more. Thanks for wonderful information I was looking for this information for my mission.

  21. toms shoes outlet

    Hi webmaster – This is by far the most effective looking web-site I’ve seen. It was totally uncomplicated to navigate and it was effortless to look for that particulars I required. Wonderful layout and excellent content! Each web site should have that. Amazing job
    toms shoes outlet

  22. patagonia for sale

    Its a Awesome and informative story.Things are formed symptom less. Get to know lots of artifact which were unbeknownst to me. Its truly one of the most facilitative article I get ever read. I am looking forward for your next post to percentage sensing for author from you. Symmetrical I bookmarked this diplomat as asymptomatic for to get supply from it in coach stores.
    patagonia for sale

  23. Armani Outlet Store

    Its such as you read my mind! You seem to know a lot about this, like you wrote the e-book in it or something. I believe that you just can do with some % to force the message house a little bit, but instead of that, this is wonderful blog. An excellent read. I will definitely be back.
    Armani Outlet Store

  24. lancel outlet store

    Hey – nice blog, just looking about some blogs, appears a fairly good platform you might be making use of. Im currently using WordPress for several of my websites but looking to alter one of them around to a platform similar to yours as a trial run. Something in specific you would recommend about it?
    lancel outlet store

  25. canada goose outlet online

    Quite a few of the ideas associated with this blog post are excellent yet had myself wanting to know, did they truly mean that? One point I have to say is definitely your authoring abilities are very great and I will probably be returning back for any new post you come up with, you may well have a completely new fan. I saved your main website for reference.
    canada goose outlet online

  26. Roseanne

    This garcinia cambogia from Gaia Sciences is doctor formulated to assist preserve cholesterol as well as control blood sugar level levels and also subdue hunger.

  27. Houston

    As a matter of fact it has actually additionally been observed that numerous companies make spurious statements concerning consisting of 95% HCA yet certainly supplement, they offer, include barely 60% HCA.

  28. Jeffrey

    Due to the fact that, HCA manages cortezole – the stress and anxiety
    causing hormone, which brings about rest condition too.

  29. Octavia

    Daily supplementation with Pure Garcinia cambogia extract
    Essences can subdue hunger, stop craving.

  30. Julieta

    I know a sport ԝԝe will play thats like Daddy iѕ talking about.?
    Mommy mentioned making each boys want to know thhe
    gamе a lot. ?It?s knoѡnn as ?Ԝhat is the smartest thing about
    God. Annd еvery of us has to come up with one
    really great thіng we like ɑbouut God. Who desires too go first??

    Lee and Larry jumped and shouted ?МE ME!? wаᴠing their fingers within the
    aair like they ɗo at scһool. Finally, Mommy stated, ?Properly Lee,
    since yoᥙre two minutes older tһan Larry, уߋou
    mɑy go first.


    Mоmmy and Daddy hugged thhe twins as a reult of itt
    was getting time to get too beԁ. ?Mommy thinks one of the best thing about God is he
    ɡave me these two little rascals and theyre the very best thing
    in Mommy?s world.? Shе mentioned cuddlіng and tickling each boys.
    That wwas thһe sort of thing mommiеs always say. The giggled and hugged Mommy and were nearly able to go to
    their bᥙnk beeds whеn Lee said.

  32. Riley

    I ran across your website last week and started to follow your posts consistently.
    I haven’t commented on any kind of blog site yet but I was considering to start soon. It’s actually exciting to really contribute
    to an article even when it’s only a blog. I really liked reading through several
    your posts. Great articles of course. I will keep visiting your blog regularly.
    I learned a lot from you. Thanks!

  33. Jewell

    It’s like you read my mind! You seem to understand a lot in regards to this, as if you wrote
    the e-book in it or something. This is a great blog.
    I’ll certainly be back.

  34. Hilaria Graap

    Undeniably believe that which you said. Your favorite justification appeared to be on the net the easiest thing to be aware of. I say to you, I definitely get annoyed while people consider worries that they just don’t know about. You managed to hit the nail upon the top and also defined out the whole thing without having side effect , people could take a signal. Will probably be back to get more. Thanks

  35. Genf20 Scam

    I’m not that much of a internet reader in all honesty but your blogs are great, keep
    writing! I’ll proceed as well as bookmark your site to return in the future.
    Good luck

  36. Johny Jackson

    Hmm іs anyone else encountering рroblems wіtһ thе images oon this blog
    loading? Ӏ’m trying to find ⲟut if itss а ρroblem оn my
    еnd or if іt’ѕ tһe blog. Any suggestions ᴡould be greatpy appreciated.

  37. Johny Jackson

    I think that everything said made a bunch of sense.
    However, what about this? suppose you added a little content?
    I am not saying your information isn’t good., but what if
    you added something that makes people desire more? I mean Install & Configure
    ADFS in Windows Server 2012 R2 – LearnITPro.Net is a little boring.
    You should look at Yahoo’s front page and watch how they create post headlines
    to get viewers to open the links. You might
    add a related video or a related pic or two to get people excited about everything’ve
    got to say. Just my opinion, it would make your website a little livelier.

  38. Hans Veksler

    Hello just wanted to give you a quick heads up and let you know a few of the images aren’t loading correctly. I’m not sure why but I think its a linking issue. I’ve tried it in two different web browsers and both show the same results.

  39. best custom writing service reviews

    Hey! Wonderful write-up! I like how you outlined %BT%.
    Really bad I’m not that good at authoring, particularly in academic penning.
    That’s why I usually order articles from different composing websites.
    When this happens I normally visit this website best custom writing service reviews where I can come across good ratings and select
    the efficient penning company.

  40. free mp3s

    “Spot up with this write-up, I seriously feel this site needs considerably more consideration. I’ll oftimes be again you just read much more, thank you for that information.”

  41. free mp3s

    “I was suggested this website by means of my cousin. I’m no longer positive whether this publish is written by means of him as no one else realize such distinct approximately my problem. You’re amazing! Thank you!”

  42. Rayford

    I’ve never considered %BT% that way. Thanks for your time
    author, it was quite interesting to read! Is it possible you provide some pieces of
    advice about the best way to raise authoring talents?

    I am bad as a freelance writer and it’s particularly challenging considering the fact that professors in our university frequently provide us with composing projects.
    On the other hand, I’ve located an answer to this difficulty.
    On this web page Rayford you can find a lot of reviews of authoring companies and choose the most
    respected one.

  43. Enlarge Penis Naturally

    Hello there, had alert to your blog through Google, and discovered that it’s really interesting.
    I’ll be thankful if you continue this in future.


    I get nearly all people are utilising Install
    & Configure ADFS in Windows Server 2012 R2. What will
    it be for substantial? Could certainly somebody please help me checking out the use of it’s career

  45. Derma Pro Medics Review

    I know this if off topic but I’m looking into starting my own blog and was wondering what all is needed
    to get set up? I’m assuming having a blog like yours would cost a pretty penny?
    I’m not very web smart so I’m not 100% positive.
    Any suggestions or advice would be greatly appreciated.
    Many thanks

  46. Laura

    Pretty component of content. I simply stumbled upon your blog and in accession capital to claim that I acquire in fact loved account your weblog posts.
    Anyway I’ll be subscribing for your augment or even I
    achievement you access persistently fast.

  47. penid pump

    Thanks for such a fantastic blog. Where else could anyone get that type of info written in such a perfect way?
    I have a presentation that I am presently writing on, and I have been on the look out for such fantastic information. Happy to discover your site.

  48. male extra

    I totally agree with your post! I looked from google and am
    looking to subscribe to your website. Where is your RSS feed?


    First off I want to say wonderful blog! I had a quick question in which I’d
    like to ask if you do not mind. I was curious to find
    out how you center yourself and clear your thoughts before writing.
    I’ve had a difficult time clearing my thoughts in getting
    my thoughts out. I truly do take pleasure in writing
    but it just seems like the first 10 to 15 minutes
    are usually lost just trying to figure out how to
    begin. Any ideas or tips? Cheers!

  50. Pingback: cheap true religion sale

  51. Pingback: mammut online shop


    My partner and I stumbled over here coming from a different website and
    thought I might check things out. I like what I see so i am just following you.
    Look forward to looking at your web page repeatedly.

  53. Pingback: Google

  54. silicone bracelets

    Have you ever considered publishing an ebook or guest
    authoring on other websites? I have a blog based on the same topics you discuss and would love to have you share some stories/information.
    I know my readers would enjoy your work. If you are even remotely interested, feel free to shoot
    me an email.

  55. Pingback: where to buy uggs online

  56. Pingback: cheap Mountain Hardwear

  57. essay writer

    What i do not understood is if truth be told how you’re now not actually a lot more well-preferred than you might be right now.
    You are so intelligent. You realize thus considerably in the case of
    this matter, made me in my view imagine it from numerous various angles.

    Its like women and men aren’t fascinated until it is
    one thing to accomplish with Lady gaga! Your personal stuffs nice.
    All the time handle it up!

  58. van cleef and arpels replica

    Hello there, I discovered your wweb site by the use of
    Google at the same time as searching for a related matter,
    youhr website came up, it appears great. I’ve bookmarked it iin my google bookmarks.

    Hello there, just changed into aware of your blog viaa Google, and located
    that it’s reallyy informative. I’m gonna watch out for brussels.
    I will apprecate foor those who continue this inn future.
    Many other folks can be benefited from your writing. Cheers!

  59. Pingback: buy hunter boots cheap

  60. silicone bracelets

    I’ve recently started a site, the info you offer on this website has helped me greatly.
    Thank you for all of your time & work.

  61. custom rubber bracelets

    I wanted to construct a simple message in order to express gratitude to you for all
    the marvelous tips and tricks you are giving on this website.
    My extended internet lookup has at the end been honored with reliable knowledge to go over
    with my relatives. I would suppose that many of us readers are
    very much blessed to exist in a good community with very many brilliant professionals with interesting ideas.
    I feel rather privileged to have encountered the website and look forward
    to tons of more awesome minutes reading here.
    Thanks once again for everything.

  62. Pingback: marmot store locator

  63. psilicone bands

    Pretty portion of content. I simply stumbled upon your site and
    in accession capital to claim that I acquire in fact loved account your blog posts.

    Any way I will be subscribing to your augment and even I achievement you get admission to
    constantly fast.

  64. Reuben

    It’s amazing to pay a visit this site and reading the views of all colleagues about this article,
    while I am also eager of getting knowledge.|

  65. Judi Poker Uang Asli

    What i don’t realize is in fact how you are not actually much more well-preferred than you might be right now.
    You are very intelligent. You realize therefore considerably
    with regards to this matter, made me in my view imagine it from so many various angles.
    Its like women and men don’t seem to be interested unless
    it’s one thing to do with Woman gaga! Your personal stuffs
    outstanding. At all times deal with it up!

  66. Shanna

    Wow, this article is fastidious, my sister is analyzing such things, therefore I am going to tell

  67. Pingback: moncler jacket sale

  68. custom wristbands

    You can definitely see your enthusiasm within the work you write.
    The arena hopes for more passionate writers like you who are not
    afraid to mention how they believe. At all times go after your heart.


Leave a Reply

Your email address will not be published. Required fields are marked *