Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
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.