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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
gk2go
Helper III
Helper III

CommandTimeout for Sharepoint folder

let Source = Sql.Database("myserver.database.windows.net", "AdventureWorks", [CommandTimeout=#duration(0, 2, 0, 0)]),

 

Does this work with Sharepoint folders also? Or is there another command for Sharepoint connections?

When I try I get: 

Expression.Error: 'CommandTimeout' isn't a valid SharePoint option. Valid options are:
ApiVersion

 

Alternatives?

 

https://docs.microsoft.com/en-us/power-bi/service-premium-incremental-refresh#query-timeouts

 

1 ACCEPTED SOLUTION
v-frfei-msft
Community Support
Community Support

Hi @gk2go ,

 

Based on my test, It is not supported yet for sharepolint folder connector. We can use Odata feed to work around like that.

let
    Source = OData.Feed("https://xxxxx.sharepoint.com/_vti_bin/listdata.svc", null, [Implementation="2.0"],[Timeout=#duration(0, 0, 15, 0)]),
    MP3_table = Source{[Name="MP3",Signature="table"]}[Data]
in
    MP3_table

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

2 REPLIES 2
v-frfei-msft
Community Support
Community Support

Hi @gk2go ,

 

Based on my test, It is not supported yet for sharepolint folder connector. We can use Odata feed to work around like that.

let
    Source = OData.Feed("https://xxxxx.sharepoint.com/_vti_bin/listdata.svc", null, [Implementation="2.0"],[Timeout=#duration(0, 0, 15, 0)]),
    MP3_table = Source{[Name="MP3",Signature="table"]}[Data]
in
    MP3_table

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

This didn't work: Expression.Error: The 'Timeout' header is only supported when connecting anonymously. These headers can be used with all authentication types: Accept, Accept-Charset, Accept-Encoding, Accept-Language, Cache-Control, Content-Type, If-Modified-Since, Prefer, Range, Referer

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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