The session expiration date cannot be changed with Azure AD B2C custom policy

Kawasaki Ryusuke (川崎 隆介) 0 Reputation points
2023-02-06T08:22:54.7833333+00:00

I am using an Azure AD B2C custom policy.

When using a custom policy session, the default session expiration time is 86,400 seconds.

I added the SessionExpiryType and SessionExpiryInSeconds tags to the UserJourneyBehaviors tag of the custom policy to change the session expiration time to 900 seconds.

Specifically, I added the following tags and values.

 <UserJourneyBehaviors>  
 <SessionExpiryType>Absolute</SessionExpiryType>
 <SessionExpiryInSeconds>900</SessionExpiryInSeconds>
 </UserJourneyBehaviors>

I made the above changes and verified the operation, but the session expiration time remained at 86,400 seconds.

What should I do to change the session expiration time?

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,095 questions
{count} votes

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.