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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Configure PowerApps Po...
Power Apps
Answered

Configure PowerApps Portal Two-Factor Authentication

(1) ShareShare
ReportReport
Posted on by 16

Hello, I have a question about configuring the Two-Factor authentication in PowerApps Portal. I have already created a new contact  for my Portal.

I Enable "Two-factor authentication" for contact and try to logged-in. It is showing the screen for which is asking for the Security Code which should be emailed to me at the specified email id in my contact record.  Also its showing the msg to "Check your email for the security code." But unfortunately I don't get any email regarding the Security Code. So I am unable to log-in as a new contact now.

Also please note that when I logged-in as a new contact (user) to the portal and on profile page when I click on "Change and Confirm Email" button I am not getting any email to my registered email id inbox i.e. any way I am not getting any type of email.

 

NOTE: I am trying all above stuff on my trial account.

 

So any assistance (with some sample) for above requirement will be highly appreciated.

 

Thanks, AR

Categories:
I have the same question (0)
  • Verified answer
    v-siky-msft Profile Picture
    on at

    Hi @AR19 ,

     

    'Send Two Factor code' and 'Send Confirmation Email' are all implemented by workflow.

    Snipaste_2020-03-12_16-43-57.png

    If you edit the workflow and enter the Send Email property view as follows, 

    Snipaste_2020-03-12_16-47-12.png

    you can see that the issue is that the email is being sent from the Owner of the Contact. The issue here is that by default when a user registers from the portal, this owner will be the SYSTEM account deployed by the portal template we chose to deploy. This account won't have an active email address or mailbox in Dynamics and therefore the workflow will fail. To fix this, all we need to do is select a more appropriate account.

    For more information, please check this blog:https://community.dynamics.com/365/b/daringdynamics/posts/dynamics-365-portal-confirm-email-error 

    Hope this helps.

    Sik

     

     

  • ARTECH Profile Picture
    16 on at

    Thanks. It works fine.

  • fahadshaikh Profile Picture
    7 on at

    Hello there, 

     

    I need help in enabling the Two Factor authentication for one of our Power Apps Portal. Is there a way we can enforce/auto-enable MFA for all users who register on the portal?

     

    I have read the section on Two-Factor Authentication here: https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/set-authentication-identity#enable-two-factor-authentication

     

    I created the following two site setting records and set their values to "true" but no luck:

    • Authentication/Registration/TwoFactorEnabled
    • Authentication/Registration/RememberBrowserEnabled

    Please advise. 

     

     

  • joeyzy123 Profile Picture
    Microsoft Employee on at

    Hi,

     

    Have you figured out the solution?

    Found out need to enable 2-factor in user profile. 

     

    Thanks

  • fahadshaikh Profile Picture
    7 on at

    Hello, 

    The solution is to use a workflow that auto enables the 2F Authentication on the user profile upon creation of the contact record. 

  • PowerMen Profile Picture
    14 on at

    Hi @fahadshaikh 

     

    I want to enable two factor authentification for all registred users on a customer portal power pages site.

    Can you explain the procedure please ?

     

    Thank you

  • Poshtiwala Profile Picture
    18 on at
    Post enabling Two factors authentication, I'm getting code over email for non domain users but post entering code, site goes into buffer continuous. User is not able to login to portal. 
     
    For issue I raised ticket with MS but still answer is not received since months.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard