If you are publishing Azure DevOps Server (on-prem) through Azure AD Application Proxy, the SAML metadata does not come from Azure DevOps itself. The metadata you need is generated by Azure AD, because Azure AD is acting as the identity provider.
To get the metadata required by Azure DevOps Server:
Go to the Enterprise Application you created for Azure DevOps SSO.
Open Single sign-on → SAML.
- Under SAML Certificates, download: • Federation Metadata XML → this is the metadata file you must upload to Azure DevOps Server
- In the same SSO page, copy the following values: • Login URL • Azure AD Identifier • Logout URL (optional)
These are the only values Azure DevOps Server needs to complete the SAML configuration.
Azure DevOps Server does not provide its own metadata endpoint. You configure it manually using the XML and URLs provided by Azure AD.
If the metadata download button is greyed out, make sure:
• A SAML certificate is generated (status must be “Active”)
• You saved the Basic SAML Configuration section first
After that, Azure AD will allow you to download the metadata file.