Azure AD : Attribute that need XML value

NdDevOps
26
Reputation points
How do i pass the value of an attribute in XML format when i use Azure AD as Identity provider ?
I have configured the value of the Attribute to the below value
<ClientOrganizations>
<ClientName>test_client</ClientName>
</ClientOrganizations>
When i post the SAML to the Service provider, the value of the attribute they receive has the below value ( & is getting changed to &)
<ClientOrganizations> <ClientName>test_client</ClientName> </ClientOrganizations>
How do i resolve this ?