Forum Discussion

ArtiK's avatar
ArtiK
New Member
2 years ago

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

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