question

12631975 avatar image
0 Votes"
12631975 asked DerekDart-4048 answered

Azure AD - How to add mobile phone number to SAML response

Hi, I am integrating the login from my web application with Azure AD by SAML protocol. I need to send some user's attributes from Azure AD to my web application.

The SAML integration is working properly but the attribute "Mobile phone" is not being sent from Azure AD to ACS URL, I have inspected the SAML Response and the mobile phone attribute doesn't exist. I have tried with different mapping values in the configuration but it didn't work.

Can you help me with the right value to map Mobile phone in SAML Response?

Thanks in advance.

Regards,
Arsenio

azure-ad-authenticationazure-ad-saml-sso
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @12631975 · Thank you for reaching out.
I have tried to get mobilePhone claim in saml token by using User attributes & claims section of Enterprise app, by updating Manifest, and by using Claims Mapping policy but couldn't get the claim in the SAML token. I am suspecting that it might not be possible to get it as claim in the token, but I have reached out to product team to get an official confirmation. I will post an answer once I have an update on this.

1 Vote 1 ·
amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered Bertt-8382 published

Hi @12631975 · Thanks for your patience.

I have confirmed that Mobile Phone cannot be sent as a claim in the token. There is a private preview available for this purpose and will be added as public preview based on the feedback. So, this will be possible in near future.

Get notified about when to revisit the What's new in Azure AD page for updates by copying and pasting this URL: https://docs.microsoft.com/api/search/rss?search=%22Release+notes+-+Azure+Active+Directory%22&locale=en-us into your RSS feed reader icon feed reader.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Any updates on this going public?

0 Votes 0 ·
DaveHaveman-0052 avatar image
0 Votes"
DaveHaveman-0052 answered DaveHaveman-0052 published

Please let us know when this goes into a publicly available status. I would like to implement this as well.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DerekDart-4048 avatar image
0 Votes"
DerekDart-4048 answered

Is this publicly available yet? We also are looking to add mobile numbers from Azure AD to an application via SAML assertion.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.