cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mjohannesson Frequent Visitor
Frequent Visitor

Error when updating connection string in Power BI Embedded

I'm using the Power BI Embedded sample application to import a PBIX desktop file into an existing workspace. The import works fine but when I try to update the connection string, I get an error:

Ooops, something broke: Microsoft.Rest.HttpOperationException: Operation returned an invalid status code 'NotFound'
at Microsoft.PowerBI.Api.V1.Gateways.<PatchDatasourceWithHttpMessagesAsync>d__5.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.Api.V1.GatewaysExtensions.<PatchDatasourceAsync>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
at ProvisionSample.Program.<UpdateConnection>d__28.MoveNext() in C:\Projects\power-bi-embedded-integrate-report-into-web-app-master\ProvisionSample\Program.cs:line 625
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at ProvisionSample.Program.<Run>d__18.MoveNext() in C:\Projects\power-bi-embedded-integrate-report-into-web-app-master\ProvisionSample\Program.cs:line 240

 

Any idea what might be the problem?

13 REPLIES 13
lars123 Occasional Visitor
Occasional Visitor

Re: Error when updating connection string in Power BI Embedded

We've started seeing the same error when updating credentials. This has worked previously, and nothing has changed in our implementation, so this looks like an error on Microsofts end.

kriwi Occasional Visitor
Occasional Visitor

Re: Error when updating connection string in Power BI Embedded

We've started to experience the same error. Any solution to this yet? 

Highlighted
peril49 Frequent Visitor
Frequent Visitor

Re: Error when updating connection string in Power BI Embedded

i'm seeing the same problem. was working fine last week.

pridge New Member
New Member

Re: Error when updating connection string in Power BI Embedded

Hi,

 

We started seeing the same thing in an automated deployment script we have. We get it even when redeploying the exact same package as was successfully installed two days ago, but yesterday it failed.

JorgeDiego Regular Visitor
Regular Visitor

Re: Error when updating connection string in Power BI Embedded

We have seen the same error. We have reviewed the dll´s in order to use the lastest versions, but the error is still there. Any solution? It seems a Microsoft issue.

avdknijff Frequent Visitor
Frequent Visitor

Re: Error when updating connection string in Power BI Embedded

I'm experiencing the exact same issue.  Our workflow which worked previously now returns this exact error message. I'll be happy to hear of anyone has a solution yet.

avdknijff Frequent Visitor
Frequent Visitor

Re: Error when updating connection string in Power BI Embedded

I'm experiencing the exact same issue. Workflow which previously worked now returns this error. Are there any solutions available yet.

Moderator Eric_Zhang
Moderator

Re: Error when updating connection string in Power BI Embedded

@mjohannesson@avdknijff@JorgeDiego@pridge@peril49

At the moment I post, I can update the connection string with the option 7 in this power-bi-embedded-integrate-report-into-web-app. Only when I type a wrong datasetID,  can I get the same error. Can you try to get the datasets with option 8.Retrive a list a datasets published to a workspace  and ensure you've input the correct datasetid?

Capture.PNG

mjohannesson Frequent Visitor
Frequent Visitor

Re: Error when updating connection string in Power BI Embedded

This issue has now been corrected by Microsoft, at least in West Europe, so now it's working for me.

Helpful resources

Announcements
Ask Amir Anything

Exclusive LIVE Community Event No. 2 – Ask Amir Anything

Next in our Triple A series: Ask Amir Netz questions about the latest updates, features and future.

Ask Amanda Anything Q&A

Ask Amanda Anything Q&A

Learn the answers to some of the questions asked during the Amanda Triple A event.

October 2019 Community Highlights

October 2019 Community Highlights

October was a busy month in the community. Read the recap article to learn about some of the events and content.

New Solution Badges

New Solution Badges

Two waves of brand new solution badges are coming! Read the article for more information on our new community badges.

Users Online
Currently online: 240 members 2,238 guests
Please welcome our newest community members: