"400 Bad Request: FederationMetadata not found at CUSTOMER_URL" error when create ADFS connection

Problem statement

We have a customer whose ADFS metadata URL is firewall-protected. So in order to create an ADFS connection in auth0 with metadata URL, we have requested the customer to whitelist auth0 Europe IPs from

But still we are not able to create the ADFS connection. The error is “400 Bad Request: FederationMetadata not found at CUSTOMER_URL”.

Cause

The US IP addresses need to be added to the allowlist as well since the requests from the manage dashboard will be coming from US IP addresses.

Solution

Adding the US IP addresses to their firewall allowlist resolved this issue: Auth0 IP Addresses for Allow Lists