Forum Discussion
New_worker
Helper II
1 year agouser principal name (UPN) question
Hi- To return UPN, should we always use USERPRINCIPALNAME()? May anyone help on below question and share me the document where to find the answer? Thanks. Your network contains an on-premises ...
- 1 year ago
New_worker I think it will not fully meet the goal. Syncing user objects via Microsoft Entra Connect is necessary but insufficient on its own. You also need to configure RLS roles properly and consider using USERPRINCIPALNAME() instead of USERNAME() to ensure the UPN is returned correctly.
v-echaithra
Community Support
1 year agoHi New_worker ,
As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.
Regards,
Chaithra.