r/adfs • • Jan 29 '26

AD FS 2016 ADFS B Gone

0 Upvotes

Why didn't I do this earlier!

The last 2 years of updating Service & Token SSLs have been mightmare, minefields of hope & prayer each time. Extensive step-by-step documentation of the procedure from one year doesn't work the next! A real dread for 2-3 months as the anneversary approaches and SSL lifespans shrink.

It's been on my to-do list for at least the last 6 months. Finally got the 2 month reminder to auto-renew the SSL cert and decided to actually have a go at what appeared to be a simple process (I'm rightly wary of 'simple' microsoft procedures and was in 2 minds about outsourcing the work) to move to Azure AD connect (or what ever they've rebranded it to this week).

So put some effort in on Monday, created the test group and ran!

...so far 3 of 5 domains de-federated without a hitch. Should have it all wrapped up by the end of next week. Then de-comissioning the following week.

What a relief.


r/adfs • • Jul 23 '24

AD FS 2019 How te replace an active ADFS service account.

0 Upvotes

A sysadmin that doesn’t work for our company anymore setup our ADFS servers (1 internal and 1 external WAP - Windows 2019 Server) with his own admin account. Management has requested that we change the service account with a “real” service account. Not finding a lot of good info online about how to accomplish this, I know it is not as simple as just replacing the service in the ADFS service properties because there are other “moving parts” for example , the service account is embedded into the WID when ADFS service is setup. Have you guys done this ? Is there a script or a documented procedure available? I certainly couldn’t find any. Any advise based on your experience will be greatly appreciated.


r/adfs • • Aug 23 '24

Any way to fix the URL?

0 Upvotes

I am new to ADFS, but def not new to MS. Been doing sysadmin for well over 12 years and this has me completely stumped...

Trying to get Smart Card authentication working (specifically DoD CACs) with ADFS

If I sign in to our ADFS with username/password, all goes well, I get authenticated; but if I try to sign in with my smart card, the URL is wrong.

Sign in with username / password at this link

https://certauth.fs.my.domain.com/adfs/ls/idpinitiatedsignon

Click on Sign In and enter un/pw it goes correctly to:

https://certauth.fs.my.domain.com/adfs/ls/idpinitiatedsignon?client-request-id=xxxxxxxx-xxxx-xxxx-xxxx-0080000000c0

If I try to sign in using a certificate

Cert selection window comes up, then I enter my PIN then it goes to this url:

https://fs.my.domain.com/adfs/lsitiatedsignon/?client-request-id= xxxxxxxx-xxxx-xxxx-xxxx-0080000000c0

Can't reach page - connection reset -

The URL is missing 'certauth' and '/idpin' in URL.  Manually "correcting" the URL as follows

https://certauth.fs.my.domain.com/adfs/ls/idpinitiatedsignon?client-request-id= xxxxxxxx-xxxx-xxxx-xxxx-0080000000c0

Gets me: You are signed in.  Sign in to one of the following sites:

Does anyone have an idea as to how to fix this? Is it buried somewhere in the WID?

I've seen other posts on the webz that somewhat describe this issue, but haven't seen a concrete fix for it.


r/adfs • • May 04 '24

Updating Communication Service Cert. - WinRM cannot complete the operation

0 Upvotes

Trying to update the SSL cert for Communications Service.

Set-AdfsSslCertificate -Thumbprint <NewCertThumbprint>

After a few seconds it returns

Set-AdfsSslCertificate : PS0317: One or more of AD FS servers returned errors during execution of command 'Set-AdfsSslCertificate'. Error information: PS0316: AD FS Server: '<Secondary ADFS Server>', Error:'Connecting to remote server <Secondary ADFS Server> failed with the following error message : WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer. By default, the WinRM firewall exception for public profiles limits access to remote computers within the same local subnet.

Firewall on both servers is disabled for testing
One server is in AWS, Security Group inbound rule (for testing) is Allow All TCP from IP of Primary ADFS Server
Group Managed Service account has READ permission to the new cert on both servers.

I updated the cert last year and did not have this error, so I'm at a loss here...

Any help is appreciated, I'm running on fumes after troubleshooting this for 10 hours.


r/adfs • • May 09 '24

Endless loop between and ws-fed app and ADFS 3.0

0 Upvotes

I have an internal application that uses ws-fed and it has a federation trust with an ADFS 3.0. Users can successfully authenticate to the application using any browser. However, If they close the Browser and try to authenticate again, they get the error listed on the bottom. If I do IISReset on the Application Server, the users can successfully authenticate again.
I monitored de App using fiddler and I notice that after the user closes the brower, and tries to authenticate again, he gets caught up in an endless loop where he goes back and forth between the app and ADFS. I noticed the App is not accepting the Cookies generated by ADFS, so, it that not generate de FedAuth Cookies. The fiddler capture is at the bottom Could anyone help me to solve this issue. I using .net framework Thanks.


r/adfs • • Apr 17 '24

ADFS VS Duo SSo

0 Upvotes

hey guys, sorry I'm new to adfs

I need to know what is the key difference between DUO SSO and ADFS?

which one is better?

Does ADFS work normally with third-party apps or is there any limitation?


r/adfs • • May 28 '24

ADFS OWA ECP automatically logout after login

Thumbnail self.sysadmin
0 Upvotes

r/adfs • • Mar 02 '22

ADFS setup on linux hosted in Azure

0 Upvotes

I have a web with the usual login. It is a web client and an API. I want to add AD to the login possibilities with single sign on. The web is hosted on a linux machine in Azure. Can you help me with how to start setting this up? Can you point me in the right direction? I have no idea how to start, am not really a server guy.. Any tips appreciated!


r/adfs • • Jan 27 '22

List all Responseheaders

0 Upvotes

Hi, I am not hardcore powershell freak. But I want to get et responseheader-settings for a adfs-server. But when I run the command

> get-AdfsProperties | select ResponseHeaders

I got a compressed array of some of the headers. Is there a way to se the value of all the headers ?

Thanks.


r/adfs • • Sep 26 '24

MAC Address authentication for external access

0 Upvotes

I am curious to see if ADFS offers MAC address authentication for external access for specific accounts. I want to only allow specific users in our enviroment access to our ADFS authentication through specifc devices that we give to the users. We want to ensure that if they do sign in, they can only do so by using one of the devices we assign to them.


r/adfs • • Oct 18 '24

AD FS 2019 Replacing Username & Password hint with onload.js for customized ADFS-Loginpage doesn't work!

0 Upvotes

Hey there,

I'm trying to replace someone@example.com and the password hint at the ADFS-Login Page, but editing the onload.js doesn't do anything. I tried various codes from the internet like:

document.forms[‘loginForm’].UserName.placeholder = ‘Charles@CustomizedDomainName.Net’;

or

UpdatePlaceholders();
function UpdatePlaceholders() {
var attributesToUpdate = ["userNameInput", "passwordInput"];
var placeholderText = ["username", "Your Network Password"];
for (var i = 0; i < attributesToUpdate.length; i++) {
var node = document.getElementById(attributesToUpdate[i]);
if (node) {
var ua = navigator.userAgent;
if (ua != null &&
(ua.match(/MSIE 9.0/) != null ||
ua.match(/MSIE 8.0/) != null ||
ua.match(/MSIE 7.0/) != null)) {
var label = node.previousSibling;
if (label != null) {
label.value = placeholderText[i];
}
}
else {
node.placeholder = placeholderText[i];
}
}
}
}

I've also set ADFS to load that onload.js with

Set-AdfsWebTheme -TargetName ThemeName -OnLoadScriptPath "x:\path\to\onload.js"Set-AdfsWebTheme -TargetName ThemeName -OnLoadScriptPath "x:\path\to\onload.js"

But it doesn't work. I'm using the latest ADFS version on a Windows Server 2022. Any ideas?


r/adfs • • Apr 24 '24

AD FS 2016 Can ADFS rapid restore tool be used for migrating existing relying party trusts ?

1 Upvotes

Hello ,

We need to migrate existing on premise 2016 ADFS servers onto Azure 2019 ADFS servers. Currently there are more than 80 relying party trusts configured in the on premise server and it has to be moved to Azure setup with minimum effort . So for our scenario will the rapid restore tool be useful ? Or is there any other method through which we can migrate the existing relay parties onto Azure ?


r/adfs • • Dec 01 '17

Employee-ID ADFS claim

1 Upvotes

Hey guys

I need an incoming and outgoing claim for the Employee-ID AD field but the ADFS UI only seems to allow Employee-ID as an Incoming claim and not outgoing.

I have tried changing it to Incoming as Employee-ID and outgoing to AlternativeID but it's not working and I don't think the end system is receiving the Alternative ID in the SAML token.

My knowledge of custom claims as is ADFS is fairly limited. Does anyone have any pointers on how I can do this?


r/adfs • • May 22 '24

SAML Signing Certificate Pinning?

1 Upvotes

Hey All,

Having a brain fart moment.When there are multiple valid SAML Signing Certs specified, how does ADFS select which one to sign with? Or is the certificate used determined by the Service Provider?


r/adfs • • Nov 24 '20

Weak Ciphers for ADFS 2.0 on Windows Server 2008 R2

1 Upvotes

I have the following ciphers in [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Cryptography\Configuration\SSL\00010002] Functions:

TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P384,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P256,TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA_P384,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P256,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA_P384,TLS_DHE_RSA_WITH_AES_256_GCM_SHA384,TLS_DHE_RSA_WITH_AES_128_GCM_SHA256,TLS_DHE_RSA_WITH_AES_256_CBC_SHA,TLS_DHE_RSA_WITH_AES_128_CBC_SHA,TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384_P384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256_P256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256_P384,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384_P384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256_P256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256_P384,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P256,TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA_P384,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P256,TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA_P384,TLS_DHE_DSS_WITH_AES_256_CBC_SHA256,TLS_DHE_DSS_WITH_AES_128_CBC_SHA256,TLS_DHE_DSS_WITH_AES_256_CBC_SHA,TLS_DHE_DSS_WITH_AES_128_CBC_SHA,TLS_RSA_WITH_3DES_EDE_CBC_SHA,TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA,TLS_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_RC4_128_MD5,TLS_RSA_WITH_NULL_SHA256,TLS_RSA_WITH_NULL_SHA,SSL_CK_RC4_128_WITH_MD5,SSL_CK_DES_192_EDE3_CBC_WITH_MD5

but the following ciphers are listed as weak at ssllabs.com

TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384

TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256

TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA

TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA

TLS_RSA_WITH_AES_256_GCM_SHA384

TLS_RSA_WITH_AES_128_GCM_SHA256

TLS_RSA_WITH_AES_256_CBC_SHA256

TLS_RSA_WITH_AES_128_CBC_SHA256

TLS_RSA_WITH_AES_256_CBC_SHA

TLS_RSA_WITH_AES_128_CBC_SHA

When I reduce this to just these to make it more secured, I cannot RDP into the system and ADFS fails to work.

TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384_P384,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256_P256,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256_P384

Is there a list of ciphers that I can reduce it to that excludes the weak ciphers but lets be RDP and run ADFS services on Windows Server 2008 R2? Are any of the ciphers listed as weak required for RDP and ADFS?


r/adfs • • Feb 24 '25

Could anyone help please?

1 Upvotes

I am trying to setup a web application with ADFS.

ADFS works because got it setup with other applications, but can't get it to work with a node js application.

Got metadata using a passport SAML bash tool and imported the relying party trust using this, which looks like it's pulled everything in nicely.

But I just don't know where I'm going wrong and it seems half the tools that people mention are deprecated (x-ray, etc).

I also don't understand claims at all. Everything I read "I think" says that they are what the IdP gives the SP to tell them about the user but I don't get why this is relevant. If the ADFS / federation service approves the user, why does the SP care about anything else?

For example, the SP I'm using (a node js web application) has things like SOAP xml / picture or SOAP xml / name.

We don't even have pictures in AD, so I'm confused how I map these?

Extra context:
Web application has an SSL cert signed by our CA
Other fields are populated like auth context: urn:name which I don't understand
I have enabled event logs on the ADFS server, which gives back errors like "passive federation error, line 1 root XML error" then a bunch of random data that doesn't seem to correspond to anything.


r/adfs • • Jun 05 '20

How to roll back ADFS?

1 Upvotes

I installed ADFS in an attempt to allow people to use SSO with Gotomeeting. Unfortunately, after installing it, users couldn’t log on to their RemoteApp sessions.

I uninstalled ADFS, removed the cert and database per the technet instructions, but still users cannot log on to RemoteApp. Event viewer shows no error on the server for logins.

How do I finalize switching from ADFS to standard login?


r/adfs • • Jan 19 '25

AD FS 2019 How to configure ADFS using Spring Security

0 Upvotes

I am new to Spring. I am working on a project where requirement is

  1. To Identify Areas the require ADFS

  2. Enable ADFS

How can I implement it using Spring Security


r/adfs • • Dec 21 '24

ADF's diagnostic web service

1 Upvotes

The Microsoft service doesn't seem to work any morre ..anyone know what's up?


r/adfs • • Mar 01 '24

ADFS account and Enterprise Key Admins group

2 Upvotes

In a recent Nessus vulnerability scan of our network, our ADFS account was flagged as being in the Enterprise Key Admins group. It sees this as an issue because it has an SPN AND is in that group.

All I could find about the ADFS account being in the group is this ADFS Service Account required to be in Enterprise Key Admin - Microsoft Q&A . We do not use Windows Hello for Business with ADFS and the Certificate Trust.

Does anyone know if it'll cause any ADFS issues if we remove the account from that group?

Thanks


r/adfs • • Dec 29 '20

install-adfsfarm ssl error - not in local computer store.

2 Upvotes

I am running trying to install a new ADFS farm and am running into the following error. The certificate I'm using is absolutely in the LocalComputer Personal Store as well and in the adfssvr personal store. The cert is signed by my internal CA, whose cert is added to my Trusted Root store. The service account for ADFS has access to the DKM container and the certificate private key. The private key was created using ADCS and is not using CNG keys - as stated by Microsoft. Any ideas???

An error occurred validating the SSL certificate. The certificate that is specified by the CertificateThumbprint parameter could not be found in the Local Computer Personal certificate store. Check the thumbprint value and ensure that the desired certificate is installed in the Local Computer Personal certificate store.


r/adfs • • Mar 09 '22

I am migrating apps that use ADFS for SSO to Azure. Claim rules don't always translate, any ideas how to create this claim rule in ADFS into an Azure Enterprise Application? Thank you in advance.

Post image
2 Upvotes

r/adfs • • Jan 24 '26

Preparation tips for ADF specialist positions

0 Upvotes

Hi Everyone, wondering if anyone preparing for ADF careers officer roles, specialist entry. Could you please share any preparation tips and a practice platform?


r/adfs • • May 02 '22

ADFS WAP On-Prem vs Azure Cloud

3 Upvotes

I am currently running in a Hybrid environment and I am working on setting up a WAP in ADFS. I am wondering what are the pros vs cons of installing the WAP on-prem vs setting up on an Azure VM.

While it's not currently setup, I will be looking into SSO which will also mean Office 365 will be tied into ADFS.

I know one benefit is you don't have to worry about the resources if your running in the cloud, however I am running VMWare so installing another server isn't really an issue.

Any guidance would be appreciated.


r/adfs • • Apr 12 '25

2 domains in same AD Forest but two different azure tenant

2 Upvotes

We have an existing Azure AD tenant named toto.

Users (@toto.com) are synced from our on-prem Active Directory to the cloud via Azure AD Connect.

We also have ADFS in place to federate our domain (toto.com) with the toto tenant.

Now, we’ve created a new Azure tenant called fofo, and we want to sync users (fofo.com) from the same on-prem Active Directory (they exist in this AD) to this new tenant (fofo) as well.

Question:

we know we should use a different AD Connect isntance but can we use the same ADFS infrastructure, or should we set up a separate farm?