Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

PowerApp Portal "Authentication/Registration/RequiresConfirmation" setting doesn't work

Posted on by 10

Hi,

We have a requirement to force the portal user to complete the email confirmation before doing any other things on portal. I see the settings "Authentication/Registration/RequiresConfirmation", which is not well documented on MS site. I found the below description in the previous adxstudio document, but it seems not working the same way in PowerApp now. After I set the setting to true in Dynamics, the registration page still shows username and password. I know there are workarounds by setting new web role and page restriction rules to go around it.

I just wonder if anybody has made this setting work.  Thanks.

adxstudio doc https://community.adxstudio.com/products/adxstudio-portals/documentation/configuration-guide/portal-authentication/registration-and-invitations/

"When the email confirmation feature is enabled, a user attempting to sign up with the portal is first required to submit a valid email address. A new contact record is created containing the submitted email address as well as an auto-generated invitation code. Next, an email message is sent to the address with the invitation code in the body of the message. This is achieved by executing the CRM process (workflow) named ADX Sign Up Email (the email message contents can be edited by modifying this process). At this point, the standard invitation code registration process takes over. By redeeming the invitation code, the user proves ownership of the email account in the process of registering with the portal."

The workaround: https://community.dynamics.com/crm/f/microsoft-dynamics-crm-forum/394390/at-the-time-of-registration-on-crm-365-web-portal-restrict-user-to-not-to-do-anything-till-confirm-email/1064407#1064407

Thanks.

  • kevin.dynamics Profile Picture
    kevin.dynamics 10 on at
    RE: PowerApp Portal "Authentication/Registration/RequiresConfirmation" setting doesn't work

    Thank Leo for your reply.

    Ideally, we don't want the user to log into the portal before the email is confirmed. We would like the way described by Adxstudio document. So when the user is on the Registration page, he can only see an email address field there. After the user inputs the email and clicks the Register button, the system will send the user an email with an invitation code/link. Then the user will use the invitation redemption process to complete the Registration.  

  • Suggested answer
    LeoAlt Profile Picture
    LeoAlt 16,329 on at
    RE: PowerApp Portal "Authentication/Registration/RequiresConfirmation" setting doesn't work

    Hi Partner,

    If you want to force user to confirm email first, please refer to the following ways.

    1.You could create a workflow triggered by creation of contact, if the "Username" and "Security Stamp" contains data, then update "Email Confirmed" to "True".

    2.When creating a new contact from portal registration,  the new contact will have no permissions to other entities or data, and then create a new workflow which will be triggered by the update of "Email Confirmed" field on contact, if the user has confirmed the email, the field will change to "True" and then assign a web role to this user for more entity permissions.

    BTW, you mentioned that the registration page still shows username and password after you set the "Email Confirmed" to true, could you please share about your complete question or requirement?

    Even if you confirm the email, the registration page will not change, and they will not affect each other.

    If you mean you want to only allow login with email address, you could create a new site setting named "Authentication/Registration/LocalLoginByEmail" and set its value to true.

    pastedimage1601628664443v3.png

    Regards,

    Leo

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans