Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
DavideBono97
Helper I
Helper I

Embed report error

I have a report that if I open normally from app.powerbi.com everything works

If I embed the report I get this error

 

Errore sottostante: PowerBI service client received error HTTP response. HttpStatus: 503. PowerBIErrorCode: OpenConnectionError
OpenConnectionError: Failed to open the MSOLAP connection.
ID di correlazione: b25800ca-de51-48a1-ab6d-0d5d260cd415
ID attività: 86ea0a8c-08b1-41f4-aaa0-c157f8829c5b
ID richiesta: ebaec16b-3149-410d-997b-1c4af0e696d4
Ora: Tue Dec 13 2022 08:52:49 GMT+0100 (Ora standard dell’Europa centrale)
Versione del servizio: 13.0.19585.64
Versione client: 2211.4.11379-train
URI cluster: https://WABI-NORTH-EUROPE-redirect.analysis.windows.net
ID attività: 86ea0a8c-08b1-41f4-aaa0-c157f8829c5b
ID richiesta: ebaec16b-3149-410d-997b-1c4af0e696d4
Ora: Tue Dec 13 2022 08:52:49 GMT+0100 (Ora standard dell’Europa centrale)
Versione del servizio: 13.0.19585.64
Versione client: 2211.4.11379-train
URI cluster: https://WABI-NORTH-EUROPE-redirect.analysis.windows.net

 

What can I check ?

Thanks in advance

2 REPLIES 2
ibarrau
Super User
Super User

Hi. Can you share more details? for example, what is your data source? how are you embedding? (there are 3  or 4 different methods)

The only thing I can check with the error is that it's using MSOLAP driver that it's usually used for Microsoft Tabular models. I can assume an issue with analysis services or different things.

Regards,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

the data source is a sql server database
On powerbi.com the dataset is set correctly as show 

 

2022-12-13_14-45-19.png

 

 

the report I'm trying to embed is in one workspace while the dataset is in another workspace

to create the embedtoken I use this piece of code :

 

var tokenRequest = new GenerateTokenRequestV2(reports: new List<GenerateTokenRequestV2Report>() { new GenerateTokenRequestV2Report(report.Item1) },
datasets: v2DatasetID.Select(datasetId => new GenerateTokenRequestV2Dataset(datasetId.ToString())).ToList(),
identities: v2rls,
targetWorkspaces: v2WsID
);

// Generate Embed token
var getToken = client.EmbedToken.GenerateToken(tokenRequest);

 

 

My config client side is : 

 

var config = {
                    type: pbiType,
                    tokenType: pbiModels.TokenType.Embed,
                    //theme: { themeJson: getCurrentTheme() },
                    accessToken: options.TOKEN,
                    datasetBinding: {
                        datasetId: options.DATASETID,
                    },
                    embedUrl: options.EMBEDURL,
                    id: options.IDREPORT,
                    layoutType: models.LayoutType.Custom,
                    customLayout: {
                        displayOption: models.DisplayOption.FitToPage
                    },
                    permissions: pbiModels.Permissions.All,
                    viewMode: pbiModels.ViewMode.View,
                    settings: { 
                        panes: {
                            filters: {
                                visible: false
                            },
                            pageNavigation: {
                                visible: false
                            }
                        }
                    },
                };

 

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.