cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jimmyp
Frequent Visitor

Access user principle

Hello,

Is it possible to access user principle (john.doe@example.com) form inside the visual?
Or is there any type of AAD integration that can be accessed from the visual?

 

I have tried using the IAuthenticationService but is met with an status 400 or 401.
I have also tried window.powerbi.session.UserInfoUtils but it seems to be empty.

 

3 REPLIES 3
Moatez
Regular Visitor

Alright thanks for your reply 😃

Moatez
Regular Visitor

Hi! , any solution?

Jimmyp
Frequent Visitor

No i haven't found a solution for this.

I only know they shout the API mentioned has been closed down do to privacy concerns.

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Top Solution Authors