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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Azure AD B2C and Web R...
Power Pages
Unanswered

Azure AD B2C and Web Roles

(0) ShareShare
ReportReport
Posted on by 6

Hi all,

 

We are implementing Azure AD B2C as Sign In option for a portal.

 

We have the invitation process implemented, where the new contact is automatically assigned to a Web Role "A" when the invitation is redeemed.

This web role "A" has exclusive permission to a few pages when the user is signed in.

 

The problem we're facing now is when someone self-register through Azure AD B2C (no invitation): the contact is created with NO web roles, and yet is able to access those pages that are restricted to only be accessed by contacts with web role "A".

 

Does anyone know why it's behaving like this? Is there any solution?

 

PS: the best of all worlds would be disable the self-registration, but from what I researched in the web, this is not possible. Unless someone know somehow?

 

Thanks,

Guilherme

Categories:
I have the same question (0)
  • Fubar Profile Picture
    17 Super User 2026 Season 1 on at

    You will probably find that there is a Web Role that has its Authenticated or Anonymous Users checkbox ticked which has the table permissions assigned to it etc.  Use the Portal Managment app and look at each of the Web Roles.  the Checkbox indicates its permissions can be inherited by any logged in user etc (there should also only ever be at most 1 web role with each respective checkbox ticked - only 1 gets inherited and if there are multiple the system will choose which one gets inherited)

  • guissilva Profile Picture
    6 on at

    Thanks @Fubar 

    That's correct. My custom Web Role "A" was set as Authenticated. So any authenticated user was able to access the pages available to that user role, even without that user role assigned.

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!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Mohsin Ali Profile Picture

Mohsin Ali 33

#2
sannavajjala87 Profile Picture

sannavajjala87 28 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 22 Super User 2026 Season 2

Last 30 days Overall leaderboard