Forum Discussion
c_lovestrom
1 year agoFrequent Visitor
USERPRINCIPALNAME is blank for External Customer
I have a report using RLS for my external customers. Sometimes we run into problems with the RLS and so we have a tab that simply displays their USERPRINCIPALNAME, as that can be useful in diagnosing...
- 1 year ago
Turns out the issue was I'd accidentally added RLS to the troubleshooting report by mistake. Removed that and re-published, and now everything is working. Thanks all.
Shahid12523
1 year agoCommunity Champion
- Blank USERPRINCIPALNAME() usually means the user isn’t properly authenticated.
- Make sure they’re accessing the report via Power BI Service, not an embedded or anonymous link.
- Confirm they’ve been added as a Guest user in Azure AD and accepted the invite.
- Try disabling RLS temporarily to see if it’s filtering them out.
- Use a raw measure like ShowUPN = USERPRINCIPALNAME() with no conditions.