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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
ArtiK
New Member

REST API Is Get Activity Response Return the UserId which the user logged

As Get Activity REST API returns the the all activity of the users but are they returns the userId who's logged into the Portal?

 

For More Clearfication :

We have integrated the power bi to the our software as we are using the login and generateToken API. Once we logged into Power Bi we used the one static email and password for each time to generate the token and uses the same for again the generate the emabedToken with access token but the actual portal user is different than and we need that user email in userId in getActivity who logged the our protal but as we using static user we not able to view the actual user who viewd the report.

 

We tried :

While generate/EmbedToken API using use the auditableContect where we are adding the user email who actual logged to our portal but still not able to get that user insted of getting the static user email which used in login.

 

https://learn.microsoft.com/en-us/rest/api/power-bi/embed-token/reports-generate-token-in-group

Addding user email which we need in userId in identities

 

 

Plese do let me know if need any more information . Thank You !

 

Please do let me know ASAP 

 

1 REPLY 1
lbendlin
Super User
Super User

Since you created the embedding setup it is your responsibility to carry that information into a place where it can be audited.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.