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

External Authentication in Portals

Hi Team, 

 

I am fairly new to Portals and wanted to validate a requirement with the experts here to see if the below implementation is possible : 

  • I am trying to build a portal which is external facing to my customers that will have different tabs in the site. 
  • The customers will be companies say Company A with 10 users, Company B with 50 Users, Company C with 120 Users etc
  • For each user, I will allow them to Sign up using Azure B2C authentication. I want to enforce them to use their Business Email IDs(Is there a way to do this so that I can possibly run a flow in the back end to remove users who have used non business email IDs)
  • For each Customer , I would like to set an administrator(from that company) who will be able to define the access levels for only their employees to various tabs in the portal . 

I am trying to figure out the above authentication implementation possibilities. Any inputs will be highly helpful. 

 

Thanks. 

 

2 REPLIES 2
Fubar
Solution Sage
Solution Sage

Generally, yes.  But if you are inexperienced you will probably encounter some difficulty in setting it up.

for B2C - you would probably do this via a Custom Policy in B2C

for the Admin type of User, yes has been done before (but it is not out of the box functionality)

 

If you know who the Organizations are then you may be better off Inviting the 'key' user(s) rather than having an open registration.  Then let the key/admin user invite their other users - if you do this you probably don't need to care what email address someone is using.

 

chleverenz
Super User
Super User

Hi @Rajesh365 ,

for the authentication go for azure b2c as @Fubar mentioned. I also have good experiences with authentication via that one.

May be i am allowed to add a bit on the diffrebnt tabs: you could solve thgis issue by creating a securityrole for every set of tybs you create and allow/disallow pages for that roles as explained here: https://docs.microsoft.com/en-us/power-apps/maker/portals/configure/webpage-access-control .  There is also a more detailed description here : https://readyxrm.blog/2020/11/30/power-apps-portals-how-to-show-the-menu-link-for-a-restricted-page/ by @nickdoelman . Then assign that roles to the users (ok, contacts) which shoulkd only see the specific tabs. I did not try, but usually you will not see the manueentries when you are not allowed to navigate there. Hopefully, this is still the case. Just give it a try 🙂

 

Hope this helps a little bit,

  Christian

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!

Top Solution Authors
Users online (4,299)