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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
bhanupowerbi
Frequent Visitor

client.Gateways.PatchDatasourceAsync returning Not found error

Hi All,

 

I am using client.Gateways.PatchDatasourceAsync(workspaceCollection, workspaceId, gatewayId, datasetId, delta).Wait() to update credentials of data source. But, It returning the error "Operation returned an invalid status code 'NotFound'.

Kindly help

 

Using 1.1.10 version of Microsoft.PowerBI.Api

1 ACCEPTED SOLUTION

Hi @Anonymous,

 

I got it resolved.

Thanks for the response.

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @bhanupowerbi,

 

Can you provide some detail content of your issue?  It's hard to reproduce your issue from your description.

 

Regards,

Xiaoxin Sheng

Hi @Anonymous,

 

I got it resolved.

Thanks for the response.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

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

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.