UPN an SNI

Mike 0 Reputation points
2025-01-31T18:20:23.6766667+00:00

Hello all,

I have a clarification question.

I have Azure as IdP, SAP IAS as a proxy, and cloud applications. Have I understood the authentication process correctly?

My settings:

  • Azure:
    1. UPN = Email
  • IAS:
    1. Application SAC: Subject Name Identifier = Corporate Identity Provider = employee_id
    2. Corporate Identity Provider: Subject Name Identifier - None -Use subject claim (sub) as subject name identifier

The user accesses a link (e.g., SAC) and enters their UPN (as I understand it, this is the only way to authenticate with Azure?). The user is then redirected to Azure, where they are identified/found based on the UPN.

A token with attributes is then created, and the user is redirected to IAS. Since in IAS the Subject Name Identifier (SNI) is set to Corporate Identity Provider = employee_id, the SNI with employee_id is transmitted to SAC.

In SAC, in the "User ID" field ist set to 23244 (employee_id). The user is identified/found here with the employee_id. Is that correct, because SNI=employee_id ?

In Azure, the user is found based on the UPN (always ?), and in IAS, based on the employee_id.

What happens if the UPN in Azure changes? Since, in our case, the UPN is the same as the email address.

Thank you very much.

Best regards

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
3,015 questions
Microsoft Entra Internet Access
Microsoft Entra Internet Access
A Microsoft Entra service that provides an identity-centric Secure Web Gateway that protects access to internet, software as a service (SaaS), and Microsoft 365 apps and resources.
37 questions
Microsoft Entra
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
23,145 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Navya 15,145 Reputation points Microsoft Vendor
    2025-02-03T08:13:12.58+00:00

    Hi @Mike

    Thank you for posting this in Microsoft Q&A.

    I understand your question regarding UPN an SNI.

    The UPN (User Principal Name) is a unique attribute in Microsoft Entra (Azure Active Directory) that is used to authenticate users. The UPN consists of a UPN prefix (the user account name) and a UPN suffix (a DNS domain name). The UPN was the primary identifier for authentication in Microsoft Entra ID. Microsoft Entra ID also supports email as an alternate login ID. If you configure both the UPN and email fields with the same value, users can log in using either one.

    Regarding your question about user identification in SAC, it is correct that the SNI in IAS is set to Corporate Identity Provider = employee_id, and this value is transmitted to SAC. Therefore, in SAC, the user is identified/found using the employee_id.

    In your scenario, the identity provider will be Entra ID (Azure), and authentication happens on the Entra side. If the user is successfully authenticated, they will receive a token with attributes. Based on the employee attributes, they can be redirected to IAS. If the UPN in Azure changes, the user will need to authenticate again with the new UPN. This is because the UPN is used to identify the user in Azure AD, and if it changes, the user will need to be re-identified with the new UPN.

    Hope this helps. Do let us know if you any further queries.

    Thanks,

    Navya.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.