Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hello
i uploaded a pbix report in workspace which have fabric as datasource.i tried to obtain embedtoken using Microsoft.PowerBI.Api.PowerBIClient.EmbedToken.GenerateToken and got error
Status: BadRequest (400)
Response: {"error":{"code":"InvalidRequest","message":"Embedding a DirectLake report is not supported"}}
went through fabric documentation from fabric didn't find any code to generate embedtoken for fabric.
Microsoft Fabric REST API references - Microsoft Fabric REST APIs | Microsoft Learn
How can I resolve this issue and successfully embed the report?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @srikanth_0777 ,
Embedding a DirectLake report is not supported for now.
Direct Lake overview - Microsoft Fabric | Microsoft Learn
If you would like to suggest feature improvements, you may vote the idea and comment here to improve this feature. It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.
Best Regards,
Community Support Team_ Scott Chang