Error: "Unable to retrieve Identifier(EntityId) from metadata file. Please upload a valid Xml or manually input the value" when trying enable SAML on VMware Cloud Director
search cancel

Error: "Unable to retrieve Identifier(EntityId) from metadata file. Please upload a valid Xml or manually input the value" when trying enable SAML on VMware Cloud Director

book

Article ID: 417865

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • Unable to enable SAML SSO on VMware Cloud Director tenant through Azure Identity Provider.
  • You are trying to enable SAML SSO on a VMware Cloud Director(VCD) tenant using Azure identity provider. When you retrieve the VCD service provider's metadata xml file and try to upload it on Azure, it gives the error below:

Environment

VMware Cloud Director 10.6.1

Cause

The issue happens because when you will try to download the Service Provider Metadata from VCD there's no Entity ID present in the file. Secondly, the metadata gets downloaded in HTML format instead of XML format. 

Resolution

To workaround the issue please change the REPLY URL in Microsoft Azure manually. The recipient address at the Azure end should be set correctly to: https://<vcd-fqdn>/login/org/<SAML-ORG-NAME>/saml/SSO/alias/vcd to resolve the issue.