
Announcements
Hi All,
We have both internal and external users added to the contact table. I would like to send the invite to external users only using the flow.
Currently, the flow I am using sends the invite the moment the contact record is created. my questions are
1. How to differentiate whether the users in the contact are external (Portal) or internal users?
2. Is there a way to check the list of external users only from the contact table?
3. How can I trigger the flow to send the portal invite for only the group of users? ( Only for the external users not for the internal users) This is the flow I am using to send the invite. (Currently, the invite is sent to all users when the contact is created whether its internal or external users)
It may depend on what authentication you are using for PowerPages.
Your internal users will not exist as Contacts until they have registered, at which point there will be an External Identity record created as a child record to the Contact part of the information that is stored in that record is the url for the identity provider (e.g. your organizations Azure AD) and the GUID of that user in the identity provider - if using your organizataion Azure AD for authentication this may be enough info to know (but if using other identity e.g. Azure B2C as the provider for both internal and external you may then need to do an additional checks).
For Local Authentication there is no way to really tell without you using information on the Contact record and then querying (probably via the Graph API) to see if it matches an existing entry.