web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Answered

Portal: Remember browser 2FA not working and Code sending delay

(0) ShareShare
ReportReport
Posted on by

I have a Powerapps Portal with Dynamics365 (Portal-Typ = StarterPortal 9.3.11.12)

We have Local authentication with 2FA sending via Email. I added the Website-Setting "Authentication/Registration/RememberBrowserEnabled". Then the checkbox "Remember Browser" appears. If I activate the checkbox and log in with the 2FA code and after that loggin again, the 2FA code is no longer required, as expected. When I close the browser and log in again, the 2FA code is requested again. I try different browser but after closing the browser the "Remember"-Funktion is forgotten. Is there a fix?

Another problem we have is that the 2FA code is sometimes delayed (email). I tried to extend the validity of the 2FA code with the website setting "Authentication / TwoFactorCookie / ExpireTimeSpan". But unfortunately the 2FA code is only valid for 5 minutes. I have under Value this value: 00:55:00. Is tehre a limit for max. 6min? 

I hope someone can help. Thanks in advance.

  • Verified answer
    Nya Profile Picture
    29,064 on at

    Hi,

    "Authentication/Registration/RememberBrowserEnabled" Selects or clears a Remember browser? check box on second-factor validation (email code) to persist the second-factor validation for the current browser. The user won't be required to pass the second-factor validation for their next sign-ins, as long as they use the same browser.

    So if you use the same browser and the portal asks the 2FA code again, please try to check if you enabled the option which will clear the cookies when the browser is closed.

    For example, here is the option for Edge browser.

    pastedimage1641547687970v2.png


    "Authentication/TwoFactorCookie/ExpireTimeSpan" Controls how much time a two-factor cookie will remain valid from the moment it was created. Value shouldn't exceed 6 minutes.

    Ref: Cookie authentication site settings

    pastedimage1641547103948v1.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
Travis South Profile Picture

Travis South 37

#2
11manish Profile Picture

11manish 33 Super User 2026 Season 2

#3
Ayesha Wajahat Profile Picture

Ayesha Wajahat 18

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans