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.
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.
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
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.
@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
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 ~
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
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
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.
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 ??
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
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.
Hi @Anonymous
Thank you for your response it was very informative and helpful for me to under how the logins work.
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 ,
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
Ajlan
6
stampcoin
4
TonjeWaasjo
4