Customer was not able to generate metadata from Single Sign-on properties for a particular IDP record.
By clicking on 'Generate Metadata', no metadata is seen as below :
This appears when 'Sign AuthnRequest '/'on customer's identity provider record is true and Signing/Encryption Key Alias and Password fields are empty incorrect.
Uncheck the 'Sign AuthnRequest '/'and hit generate metadata on the required IDP record ,we can see that the Metadata is generated .
Customer must make sure that Signing/Encryption Key Alias and Password fields are updated correctly.The default OOB value for Signing/Encryption Key Alias and Signing/Encryption Key Password is saml2sp.