Hi,
I'm trying to build a simple Power Pages Portal that interacts with Authenticated Users from multiple tenants trough Entra ID and also Microsoft ID.
All users authenticated should only see see and edit all the fields in a Sharepoint List of the tenant where the Power Pages is and where:
- their authentication account e-mail is present in the Sharepoint field/column "Email"
- they can only see/edit their line and all of the lines where Sharepoint field/Column "AAAA" & "BBBB" values are equal to the values of their line.
I've configure Power Pages to allow only Authenticated Users access. Also that ID Providers were only ENTRA ID and Microsoft ID.
Permissions access is to tables, pages... also (supposedly...) defined.
I've successfully created the link trough a virtual table in Dataverse and explored a number of solutions to filter a view of the table due to the limitations of a virtual table, some using a flow to get "AAAA" & "BBBB" values corresponding to the authentication email as session variables from the Virtual table to input it.
However, I cannot populate any data to get the e-mail of the authenticated users online (tried multiple methods to get i also with help of liquid, flows, etc.). I see them authenticated, they are registered in the Power pages Active contact list with their email visible, but I can't "read" the authenticated User e-mail active in the session.
Any one can point me in the right direction to troubleshoot this?
PS For context, I'm not a Dev, only a Power User...