Forum Discussion

MaartenInc's avatar
MaartenInc
Frequent Visitor
4 years ago
Solved

C# Embed dashboard and tiles missing in dot.net core api?

Hello,   I'm using the Nuget package from https://github.com/microsoft/PowerBI-CSharp (v4.0.6/latest) within my C# projects to embed reports. These are "for your customer" scenarios. My projects ar...
  • MaartenInc's avatar
    4 years ago

     

     

                var p = new GenerateTokenRequest(TokenAccessLevel.View);
                pbiClient.Dashboards.GenerateTokenAsync(request.WorkspaceId, pbiDashboard.Id, p);

     

    As I  finished, this question. I found I can use the old 'v1' with following code.