Skip to main content
Community site session details

Community site session details

Session Id :
Power Pages - Power Apps Portals
Unanswered

Login only after email confirmation

(0) ShareShare
ReportReport
Posted on by 82

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?

  • Kundan Sah Profile Picture
    45 on at
    Re: Login only after email confirmation

    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

  • Kundan Sah Profile Picture
    45 on at
    Re: Login only after email confirmation

    sure let me write something up with screenshot

  • pedrodecarvalh Profile Picture
    82 on at
    Re: Login only after email confirmation

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

    Could you show me?

  • Kundan Sah Profile Picture
    45 on at
    Re: Login only after email confirmation

    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

  • pedrodecarvalh Profile Picture
    82 on at
    Re: Login only after email confirmation

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

  • Kundan Sah Profile Picture
    45 on at
    Re: Login only after email confirmation

    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

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Pages

#1
Lucas001 Profile Picture

Lucas001 60 Super User 2025 Season 1

#2
Fubar Profile Picture

Fubar 55 Super User 2025 Season 1

#3
surya narayanan Profile Picture

surya narayanan 35