Endpoint Sign-IN : How to sync Azure password with endpoint
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
- Register the application with Microsoft Entra ID/Azure.
- Add the user in the application.
Add Built-In Attributes to the Token
For Applications Using OpenID Connect
- Sign in to the Microsoft Entra admin center.
- Navigate to Identity > Applications > Enterprise Applications.
- From the list, select the OIDC application to open its Overview page.
- Configure Single Sign-On :
- Under Manage, select Single Sign-on.
- In the Attributes & Claims section, select the Edit icon.

- 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".
- Save the Attribute:
- Select Save.
For SAML-Based Applications
- Sign in to the Microsoft Entra admin center.
- Navigate to Identity > Applications > Enterprise Applications.
- From the list, select the SAML-based application to open its Overview page.
- 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.
- 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".
- Save the Attribute:
- Select Save.
Updating the Application Manifest to Accept Mapped Claims
- Sign in to the Microsoft Entra admin center.
- Navigate to the App Registration:
-
- Go to Identity > Applications > App registrations.
- Select your application in the list to open the application's Overview page.
- Open the Application Manifest:
-
- In the left menu, under Manage, select Manifest to open the application manifest.
- Modify the manifest:
-
- Find the acceptMappedClaims key and set its value to true.
- Select Save.


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.