cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Michael_Cullen
Frequent Visitor

PowerApps Portal with AD B2C enabled requires self registering users to redeem an invitation

Hi,

We have a PowerApps portal configured to use Azure Active Directory B2C as the only enabled identity provider. This identity provider is itself configured to allow users to self-register, as well as to log in to the Portal.

 

At present, users who attempt to self-register are not successfully registered in Dataverse - they are brought to the "Redeem Invitation" screen instead. However, they cannot complete registration as they never received an invitation code. As a result they are created in the Dataverse, but their accounts are locked.

 

The authentication settings on the Portal are as shown in the attached screenshot. Setting

 

Authentication/Registration/InvitationEnabled to false results in the user getting a message that "Registration is disabled" whenever he or she attempts to register, as per the attached screenshot. This doesn't make any sense to me. I have been attempting to resolve this for several days. How can I configure the portal so that users can self register successfully?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
OliverRodrigues
Super User
Super User

I believe open registration should be enabled. I feel like I had a similar issue in the past where leaving local authentication disabled and then getting errors when redeeming invitation via Azure AD B2C, what I had to do was leaving local auth enabled but then add JS to the page (content snippet) and remove the local authentication controls.

 

hope this helps




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

View solution in original post

2 REPLIES 2
OliverRodrigues
Super User
Super User

I believe open registration should be enabled. I feel like I had a similar issue in the past where leaving local authentication disabled and then getting errors when redeeming invitation via Azure AD B2C, what I had to do was leaving local auth enabled but then add JS to the page (content snippet) and remove the local authentication controls.

 

hope this helps




If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Power Pages Super User | MVP


Oliver Rodrigues


 

Thanks - that worked! I had foolishly thought that the Open Registration setting applied only to local authentication. But in fact it seems to apply no matter which authentication mechanism is in use.

In our case we don't even need to hide the local authentication controls as we are setting the AD B2C option as the default mechanism, which means that we are not brought to the redemption page at all once Open Registration is enabled.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Top Solution Authors
Users online (1,194)