An error occurs when I try to use the metadata in ADFS

I am currently trying to set up an ADFS 2016 as a custom identity provider as described here:

To do this, I create a Relying party trust in ADFS and enter the metadata address in the corresponding field so that ADFS can query all settings and certificates.
I use the address that can be queried in the admin console in the realm settings under ‘SAML 2.0 Identity Provider Metadata’:
Unfortunately I get the following error message:
MSIS7527: The metadata does not contain the roles descriptors needed for the entity to be configured as a relying party trust
It seems that the metadata does not contain all the information that ADFS needs. Can I set somewhere which information is provided in the metadata?