Endpoint Sign-IN : How to sync Azure password with endpoint

Endpoint Sign-IN : How to sync Azure password with endpoint

85
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:07 PM


Objective


Problem Statement

A known issue with Azure architecture is that when the password is changed using the Azure portal, It does not sync with the Azure-joined endpoint immediately and takes some time.

 

Azure mentioned entering the new password in the Azure-joined endpoint to validate the password with the Azure server instead of local validation. This will update the endpoint to use the new password instead of old password.

 

How does it affect the Endpoint sign-in experience?

Endpoint sign-in provides a passwordless log in experience in online mode.

But when the endpoint is in offline mode, users must enter their password. Until the password is synced, users must enter their previous password.



Environment


24.8;24.9 EPM EPM Console;EPM Agent

Procedure


Resolution

To resolve this, the Azure admin adds a user attribute for the last password change date and time information ("lastpasswordchangedatetime"), as part of the token response. During online sign-in, EPM detects the password change and prompts for the new password.

Use the following guidelines to add the extra attribute to the claim.

Add user attributes to token claims in Microsoft Entra ID/Azure

This section provides step-by-step instructions on how to add built-in user attributes to the token that Microsoft Entra ID sends to your application.

Prerequisites

  1. Register the application with Microsoft Entra ID/Azure.
  2. Add the user in the application.

Add Built-In Attributes to the Token
 

For Applications Using  OpenID Connect

  1. Sign in to the Microsoft Entra admin center.
  2. Navigate to Identity > Applications > Enterprise Applications.
  3. From the list, select the OIDC application to open its Overview page.
  4. Configure Single Sign-On :
    • Under Manage, select Single Sign-on.
    • In the Attributes & Claims section, select the Edit icon.

    image-2024-7-19_11-47-17.png 

    image-2024-7-19_11-48-3.png

  5. Add a Built-In Attribute to the Token as a Claim:
    • On the Attributes & Claims page, select Add new claim.
    • Enter a Name for the claim-  "lastpasswordchangedatetime".
    • Next to Source, select Attribute, and then select the built-in attribute from the dropdown list- "user.lastpasswordchangedatetime".

      image-2024-7-19_11-49-0.png
      image-2024-7-19_11-49-40.png
  6. Save the Attribute:
    • Select Save.

 

For SAML-Based Applications

  1. Sign in to the Microsoft Entra admin center.
  2. Navigate to Identity > Applications > Enterprise Applications.
  3. From the list, select the SAML-based application to open its Overview page.
  4. Configure Single Sign-On for SAML:
    • Under Manage, select Single Sign-on.
    • Select SAML as the single sign-on method.
    • In the Attributes & Claims section, select the Edit icon.

  5. Add a Built-In Attribute to the Token as a Claim:
    • On the Attributes & Claims page, select Add new claim.
    • Enter a Name for the claim-  "lastpasswordchangedatetime".
    • Next to Source, select Attribute, and then select the built-in attribute from the dropdown list- "user.lastpasswordchangedatetime".
    image-2024-11-13_14-31-34.png
  6. Save the Attribute:
    • Select Save.

Updating the Application Manifest to Accept Mapped Claims

  1. Sign in to the Microsoft Entra admin center.
  2. Navigate to the App Registration:
    • Go to Identity > Applications > App registrations.
    • Select your application in the list to open the application's Overview page.
  1. Open the Application Manifest:
    • In the left menu, under Manage, select Manifest to open the application manifest.
  1. Modify the manifest:
    • Find the acceptMappedClaims key and set its value to true.
    • Select Save.

image-2024-7-19_11-50-49.png 

image-2024-7-19_11-51-24.png 

These steps enable you to successfully add built-in user attributes to the token claims in Microsoft Entra ID/Azure, which ensures that your application receives the necessary user attributes which will help EPM to detects the password change and prompts for the new password.

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001Ol4CAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail