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
MichaelWash
Helper I
Helper I

Can we embed a Paginated report in the edit mode?

Microsoft announced you can now create Paginated Reports in the Web Browser:

Low code authoring of paginated reports | Microsoft Power BI Blog | Microsoft Power BI

 

I can embed a Paginated report using the following code:

 

    var generateTokenRequestParameters = new GenerateTokenRequest(accessLevel: TokenAccessLevel.View);

    var tokenResponse = await client.Reports.GenerateTokenAsync(
        new Guid(workspaceId),
        new Guid(reportId),
        generateTokenRequestParameters);

    result.EmbedToken = tokenResponse;
    result.EmbedUrl = report.EmbedUrl;
    result.Id = report.Id.ToString();

    await Interop.EditReport(
        JSRuntime,
        PowerBIElement,
        tokenResponse.Token,
        report.EmbedUrl,
        report.Id.ToString());

 

But trying to use Edit mode does not work:

 

    var generateTokenRequestParameters = new GenerateTokenRequest(accessLevel: TokenAccessLevel.Edit);

    var tokenResponse = await client.Reports.GenerateTokenAsync(
        new Guid(workspaceId),
        new Guid(reportId),
        generateTokenRequestParameters);

    result.EmbedToken = tokenResponse;
    result.EmbedUrl = report.EmbedUrl;
    result.Id = report.Id.ToString();

    await Interop.EditReport(
        JSRuntime,
        PowerBIElement,
        tokenResponse.Token,
        report.EmbedUrl,
        report.Id.ToString());

 

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @MichaelWash,

Current power bi seems not support to embed paginated report in edit mode, you can embed it in view mode.

Regards,

Xiaoxin Sheng

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @MichaelWash,

Current power bi seems not support to embed paginated report in edit mode, you can embed it in view mode.

Regards,

Xiaoxin Sheng

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.