<requestedAttributes> Element

Optional child element of the <metadata> Element element.

List of attributes that the SP requests to be included in the assertions generated by an identity provider. Each attribute is added to the list with an <add> element.

The element should look something like this:

    <add name="" friendlyName="" nameFormat="" isRequired=""/>
    <add name="" friendlyName="" nameFormat="" isRequired=""/>


The name of the attribute. This is usually in the form of an urn/oid, e.g. urn:oid:1.2.3. The format of the name should be specified in the nameFormat attribute.
friendlyName (Optional)
An optional friendly (i.e. human readable) friendly name of the attribute that will be included in the metadata. Please note that the SAML2 standard specifically forbids the friendlyName to be used for anything other than information to a human. All matching of attributes must use the name.
nameFormat (Optional)

Format of the name attribute. Valid values are:

  • urn:oasis:names:tc:SAML:2.0:attrname-format:uri
  • urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified
  • urn:oasis:names:tc:SAML:2.0:attrname-format:basic
isRequired (Optional)
true or false value indicating whether the attribute is required by the service provider or just a request that it would be nice if the Idp includes it.