Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
manishpepsico
New Member

extracting user id from Azure AD while user logged into power bi online service

Hi Everyone,

 

we wanted to explore if there is any way using which we can extract User id from Azure AD while user logged in into Power BI online service to see dashboard, that way we want to identify users and implient RLS.

2 REPLIES 2
GilbertQ
Super User
Super User

Hi there

Yes you can do this by creating a measure.

For example the measure would be:

Logged in User = USERPRINCIPALNAME()

Then put this measure into a Card Visual

Then pin the Card Visual to your dashboard.

When the user logs in it will give you their UPN




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Hi USERPRINCIPALNAME() gives mail id but user has windows user id which is captured in Azure AD we want to extract that information while user is login into power bi service

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors