Hello @Håvard Olsen,
Thank you for posting your query on Microsoft Q&A.
Based on your description, I understand that whenever changes are made to a custom policy, users are prompted to re-login, even if they have an active session. You mentioned that this only happens occasionally when deploying changes to a custom policy in Azure AD B2C.
Since this behavior is somewhat unusual, could you let me know how long it takes for active sessions to be revoked or invalidated after deploying updates to the custom policy in Azure AD B2C?
Which files are you modifying when this behavior occurs?
Please share this information to help us better understand the scenario. In the meantime, I'll check internally to see if there are any known cases of similar behavior.
Thanks,
Raja Pothuraju.