Skip to main content

Notifications

Community site session details

Community site session details

Session Id : zB47NAx5DbI+UtGryhsrzG
Power Pages - Power Apps Portals
Answered

Power Apps Portal Internal and External Users Login

Like (0) ShareShare
ReportReport
Posted on 17 Nov 2021 10:22:07 by 666

Hi Guys,

 

I had a few doubt regarding the logins in power apps portals : - 

 

I have a local (signup) login Page enabled in a portal which I am developing below are my queries

1. How will Internal users (users of my organization with a D365 license) login to the portal ? 

2. How will External users login to the portal ?

3. Can I just a single login Page on which both internal as well as external users can login ?

4. Do I need to set my internal users as portal contacts or can they just login with their organization credentials ?

 

How does a portal differentiates between Internal and External users is there any way to view how many internal and external logins I had in the portal ? 

 

Note : I am well aware about the licensing please do not link me the licensing guide for internal and external users

 

Thanks and Regards,

Vidit.

  • VIDIT Profile Picture
    666 on 17 Jan 2022 at 08:24:28
    Re: Power Apps Portal Internal and External Users Login

    Thank you @Anonymous  I am trying to use this but i am not able to figure out what my provider and protocol should be currently I am using the below.

    ViditGholam_0-1642407857008.png

     

  • Verified answer
    Community Power Platform Member Profile Picture
    on 11 Jan 2022 at 15:35:11
    Re: Power Apps Portal Internal and External Users Login

    ok @ViditGholam , so use Azure AD and what you are asking is possible using a site setting, check this link below 

    https://powerusers.microsoft.com/t5/Power-Apps-Portals/Azure-AD-contact/td-p/906998 

  • Verified answer
    VIDIT Profile Picture
    666 on 11 Jan 2022 at 15:34:22
    Re: Power Apps Portal Internal and External Users Login

    Yeah, Cus suppose say ~ I have a contact related to an Account A and the same contact is my Azure AD user so now when he logins using Azure AD a new contact of his is been created rather than creating a portal contact for the same existing contact.

     

     

  • Community Power Platform Member Profile Picture
    on 11 Jan 2022 at 15:04:16
    Re: Power Apps Portal Internal and External Users Login

    @ViditGholam i see , so you dont want Azure AD not Azure B2C to create new contacts on register/first login. let me check this one and get back to you 

  • VIDIT Profile Picture
    666 on 11 Jan 2022 at 14:43:28
    Re: Power Apps Portal Internal and External Users Login

    So which login type will you suggest to implement ??

    (I am asking this to you since you are using the portal since few years ).

    Azure B2C ??

    My Requirement is ~

    1.  I have a set of Existing contacts related to accounts. 
    2.  All these accounts are my Azure AD guest users.
    3.  So I need to set up logins for them but every time a guest user logins for the first time via Azure AD button it created a new contact, I am not able to figure out how I can link the logins to existing contacts in my system.
  • Verified answer
    Community Power Platform Member Profile Picture
    on 11 Jan 2022 at 14:21:44
    Re: Power Apps Portal Internal and External Users Login

    Hi @ViditGholam ,

    Try adding this new site setting (if it exist , make sure its =False), this setting specifies whether a unique email address is needed for validating the user. When an existing contact email address is used to sign-in, the setting must be set to false. By default, it is set to true that may cause sign-in attempts to fail for contact records with email address already present.

     

    Authentication/UserManager/UserValidator/RequireUniqueEmail 

     

    Manar_0-1641910652293.png

     

    and regarding local deprecation , yes it will eventually get deprecated but Microsoft isnt specifying when it will be removed 

    https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/migrate-identity-providers 

     

  • VIDIT Profile Picture
    666 on 11 Jan 2022 at 09:54:57
    Re: Power Apps Portal Internal and External Users Login

    Hi @Anonymous , 

    I had a question I see you are using Azure AD for authentication, so a issue which i am facing is when ever a user logs in to Azure AD and that is an existing contact in CRM it gives this error.

    ViditGholam_0-1641894820096.png

    I just want to link this login to an existing account is there any way to do so ??

     

    Also, is Local Authentication "Username"/"Password" Deprecating ??

  • ragavanrajan Profile Picture
    7,036 Most Valuable Professional on 20 Nov 2021 at 20:16:37
    Re: Power Apps Portal Internal and External Users Login

    Hi @ViditGholam 

     

    Just additional info, as @Anonymous mentioned, always when the contact is created you can find the relevant external identities and local identities in each contact > portal contact form. Screenshot below for reference

     

    ragavanrajan_0-1637439375970.png


    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.

  • VIDIT Profile Picture
    666 on 19 Nov 2021 at 04:19:35
    Re: Power Apps Portal Internal and External Users Login

    Hi @Anonymous 

    Thank you for your response it was very informative and helpful for me to under how the logins work.

  • Verified answer
    Community Power Platform Member Profile Picture
    on 18 Nov 2021 at 19:26:06
    Re: Power Apps Portal Internal and External Users Login

    Hello there,

    we have being using portal for the last 5 years so i may can help you with your questions, 

     

    1. How will Internal users (users of my organization with a D365 license) login to the portal ?  portal login doesnt require licenses and it wont differentiate between users and customers which is good, all logins will create new contacts even for licenses users . now the easiest way to make the auth smooth is enable the portal to accept Azure AD log so users (internal employees) wont need to create user name and password  ,

    Manar_0-1637262965134.png

     

    2. How will External users login to the portal ? external users can have the option of creating their own login using either Azure B2C or B2B or you can enable federated authentication that portal provides for example Microsoft  https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-portal-authentication 

    3. Can I just a single login Page on which both internal as well as external users can login ? you can make Azure your single login so it will work with internal and external https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-azure-ad-b2c-provider 

    4. Do I need to set my internal users as portal contacts or can they just login with their organization credentials ? no need to do that as the portal will take care of it automatically (on login , portal will automatically create contact right away)

    5.How does a portal differentiates between Internal and External users is there any way to view how many internal and external logins I had in the portal ? this is a bit tricky but i know that there is an entity called external identities and it will log every first login with it id provider so if internal users and external use AD then they may have the same url 

     

    Manar_1-1637263494895.png

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Pages - Power Apps Portals

#1
Ajlan Profile Picture

Ajlan 6

#2
stampcoin Profile Picture

stampcoin 4

#2
TonjeWaasjo Profile Picture

TonjeWaasjo 4

Overall leaderboard