cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pedrodecarvalh
Helper I
Helper I

Login only after email confirmation

Hello everyone,

 

I have a task that i need to make the user only be able to login and see the content of the Portal after registering in Portal and having their Email confirmed.

 

I thought about the authenticated or anonymous Web Role but the moment someone registers it makes automatically Authenticated so they are able to see the content

 

Any ideas on how to do it?

6 REPLIES 6
Kundan_Sah
Helper I
Helper I

One easy solution is to have two different web role one for email unconfirmed users and other one for email confirmed users. By default when user registers workflow will assign first web role with no data permission and once email is confirmed a workflow will assign correct web role

That was my idea, but how and where to change that workflow?

it will work only with classic workflow.. you can navigate to process- new process - add step - portal - assign web role to assign web role when invitation is accepted.. and trigger another workflow on change of email confirmed field to unassign first web role and assign second webrole

Im not finding where and how to add the new worflow, im really new in this.

Could you show me?

sure let me write something up with screenshot

Hi, please try as below https://learnpowerapps.blogspot.com/2021/03/dynamically-assign-web-role-when.html

you need to create a similar workflow for contact entity and trigger when email confirmed field is updated, check the condition if email confirmed equals true and assign proper web role

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Users online (20,715)