User Profile
marcio_fornari
Resolver I
Joined 6 years ago
User Widgets
Contributions
Re: Power BI Embedded and PBIR Format Support
Following up with a concrete, reproducible case (tested today, August 6, 2026), because the mobile layout part of this limitation still reproduces even though the docs no longer list it. Setup: Report published from a PBIX; the service stores it as "format": "PBIR" (confirmed via GET https://api.powerbi.com/v1.0/myorg/reports/{reportId}). Embedded with powerbi-client 2.24.1, AAD token, settings.layoutType = models.LayoutType.MobilePortrait, and pageName explicitly set to the section name of a page that has a mobile layout. What happens: Embedding itself works fine — the report loads, data and interactions are all OK (so PBIR does embed). But the mobile layout is not applied. The SDK fires: mobileLayoutError — Warning: Mobile layout was not found for current page: "<sectionName>", loading page in default layout referencing exactly the page I requested, and the page renders using the desktop layout squeezed into the phone-sized container. The mobile layout definitely exists on that page: page.mobileSize returns 324 × 2711, page.hasLayout(models.LayoutType.MobilePortrait) returns true, and the same page renders perfectly in the service's mobile layout view and in the Power BI mobile app. Only the embedded rendering refuses to apply it. Control test: the exact same embed configuration, token and container against a report stored as "format": "PBIRLegacy" applies the mobile layout perfectly (no warning, correct phone rendering). So the only differentiating variable is the stored report format. Screenshots attached: Image 1 — the page viewed in the Power BI service mobile layout view (it looks exactly the same in the official Power BI mobile app): the mobile layout renders correctly. Image 2 — the very same page, same day, embedded with layoutType: MobilePortrait: the mobile layout is ignored and the desktop layout is rendered squeezed into the phone-sized container. Questions: Is applying mobile layouts (layoutType: MobilePortrait) in embedded scenarios officially supported today for PBIR-format reports, or is this still a known limitation? The "PBIR considerations and limitations" page no longer mentions it, but the behavior above suggests it is not supported yet. If it is still a limitation, is there a roadmap item or ETA we can track specifically for mobile layout support in embedded PBIR reports? Since January 2026 the service stores new/republished reports as PBIR by default, so every republish re-breaks mobile embedding. For ISVs whose embedded apps depend on mobile layouts, what is the recommended path today — restore reports to PBIR-Legacy via report settings and/or have the tenant admin disable the automatic PBIR conversion setting until this is fixed? Both feel temporary given PBIR will become the only format at GA. Thanks!223Views0likes0CommentsRe: Datasets - Execute Query endpoint with RLS
Hi, sorry for the long time to response. None of those solutions worked for me 😞 Into my embedded report, the RLS works fine, the problem is just about the execute queries. My steps: 1 - Generate a authentication token by service principal and master user (the both not work) 2 - Get the token from the step 1 and call the api generate token: POST:https://api.powerbi.com/v1.0/myorg/GenerateToken { "datasets": [ { "id": "xxx-xx-xxxx" } ], "targetWorkspaces": [ { "id": "xxx-xxx-xxxx-xxx" } ], "identities": [ { "username": "usernamexxx", "roles": ["rolexxx"], "datasets": ["xxxx-xxx-xxxx"] } ] } 3 - Get the token from step 2 and execute querie: POST: POST https://api.powerbi.com/v1.0/myorg/datasets/{datasetId}/executeQueries BODY example: { "queries": [ { "query": "EVALUATE VALUES('mytable')" } ],9.7KViews1like0CommentsRe: Datasets - Execute Query endpoint with RLS
Hello, this documentation is not clear about Rls identities. Can you send a body example? I tested this and not filter the rls, return all rows. { "queries": [ { "query": "EVALUATE VALUES(table)" } ], "identities": [ { "username": "[email protected]", "roles": [ "myrole" ], "datasets": [ "xxx-xxx-xxx-xxxx" ] } ] }10KViews1like10CommentsPower BI Embedded - Api to return core dataset’s GUID
Hello, Generate a embedded token to a report which has a Power BI dataset as a datasource, needs especified all datasets in the request. Please create a endpoint to return all this datasets of specific report. For example: GET https://api.powerbi.com/v1.0/myorg/reports/{reportId}/datasets and the response like: { "value": [ { "datasetId": "xxxxx-xxx-xxx-xx", "isEffectiveIdentityRequired": true, "isEffectiveIdentityRolesRequired": true }, { "datasetId": "xxxxx-xxx-xxx-xx", "isEffectiveIdentityRequired": false, "isEffectiveIdentityRolesRequired": false }, ] }158Views0likes0Comments
Data Privacy
Microsoft Fabric Community and Privacy
To learn more about how we manage your data, please review the Microsoft Fabric Community Data Privacy guide.