Forum Discussion
Embedding Paginated Report with a Power BI Dataset
We are marching towards having this available by Jan in production
Hope this helps
Aviv
Well, it's January 10th, so is going to be Jan or when do you think? Just wanted a guesstimate is all.
- avive4 years agoPower BI Team
Please give it another week
Thanks
Aviv
- AmosHersch4 years agoMicrosoft Employee
This is now available. You should use the latest .Net SDK, see some guidance here:
Thanks,
Amos
- Anonymous4 years agoNot applicable
So, we have implemented the code in our .net application and we are able to see our paginated report through our embedded web application. However, we are seeing an issue where the provided EffectiveIdentity username is not showing correctly in the Paginated Report's username parameter. This parameter is showing the &User.UserId property, however, this value has the service principal GUID instead of the effective identity username provided in the api call. Code in call:
generateTokenRequestV2Parameters = new GenerateTokenRequestV2(datasets: dataSetIdV2, reports: reportIdV2, identities: new List<EffectiveIdentity> { new EffectiveIdentity(username: upn, roles: new List<string> { roleName }, datasets: new List<string> { dataSetId }) });
accessToken = client.EmbedToken.GenerateToken(generateTokenRequestV2Parameters);
The upn value in this case is my email address '[email protected]', which should show up in the pagainated report parameter for &User.UserId instead of the SPN GUID.