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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

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.