cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ancy
Kudo Kingpin
Kudo Kingpin

Facing issue while using custom user attribute for Azure AD B2C Auth in Power Apps Portal

Hi,

 

In the Power Apps Portal, we have configured Azure AD B2C Authentication to Signup/Login by following below reference link. We have created custom User Attributes that visible while signup a new user.

 

1. After signup, user created at Azure successfully but could not find values of custom attributes. Also, configured mapping in Site Settings of Power Apps Portal but fields not getting populated based on Azure custom user attribute.

 

2. After Signin using Azure AD B2C, user redirected to the Redeem Invitation page (Portal_URL/Account/Login/ExternalAuthenticationFailed) of Portal instead of Profile page. It was working before but now not working as expected.

 

Reference: Configure the Azure Active Directory B2C provider manually
https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-azure-ad-b2c-provider-m... 

 

Please help us to fix aforesaid issue. Any help will be appreciated.

 

Thank you

4 REPLIES 4
ragavanrajan
Super User
Super User

Hi @Ancy 

 

Please have a look at our MVP @OliverRodrigues  video where he explained clearly how to add custom attribute 

 

https://www.youtube.com/watch?v=SngdBdEVGBc&ab_channel=PowerPlatformCommunity 

 

Also adding one more MVP article 

 

https://readyxrm.blog/2019/07/24/configure-azure-ad-b2c-for-powerapps-portals/ 

 

I would suggest you remove the AD B2C and start fresh. You can explore this in your dev environment. 

 


Hope it helps. 
------------

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

Ancy
Kudo Kingpin
Kudo Kingpin

Thanks for the help @ragavanrajan.

 

I have followed all steps based on the link but still getting error. After successful Azure AD B2C signin, it's redirecting to the below URL. 

 

PORTAL_URL/Register?ReturnUrl=%2FAccount%2FLogin%2FExternalAuthenticationFailed  

 

Any help will be appreciated.

 

Thank you

Ancy
Kudo Kingpin
Kudo Kingpin

Hi @ALL,

 

This issue has been resolved. I have enabled the "Open Registration" option from the Authentication settings of the External Identity Providers.

 

Reference: Overview of authentication in Power Apps portals

https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-portal-authentication#o... 

 

Thanks for providing help.

 

Thank you

Glad it helped @Ancy and thank you for the docs. 

Helpful resources

Announcements
Carousel Community Blog

Check out the Community Blog

Read all about the most recent blogs in the community!

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Carousel News & Announcements

What's New in the Community?

Check out the latest News & Events in the community!

Users online (1,672)