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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
Anonymous
Not applicable

sharepoint: request failed: unable to connect to the remote server

Helo everyone, please see below how my dataset looks like:

2 tables:

- 1 excel from Sharepoint: MAP_ERRORS with "ERROR NAME" and "ERROR Description"

ERROR NAME,ERROR Description

Exception,ClassCastException

Exception,RuntimeException

Invalid value,invalid data type for attribute

-1 SQL Server Table EMEA_AM_AP with "ITEM_PK" "STATUS" "Error_message"

ITEM_PK,STATUS,Error_message

code1,KO,null:RuntimeException:data not complaint

 

I would like to create a new column in table EMEA_AM_AP where if I find one of the Error Description messages, to have automatically the ERROR NAME. For example:

ITEM_PK,STATUS,Error_message, ERROR Type

code1,KO,null:RuntimeException:data not complaint,Exception

 

I succeeded to do that with the following power queries:

#"Added Error_type" = Table.AddColumn(#"Renamed Columns1", "Error Type", each Table.SelectRows(MAP_ERRORS, (outer) => Text.Contains([Error_message], outer[ERROR Description]))),
#"Expanded Error Type" = Table.ExpandTableColumn(#"Added Error_type", "Error Type", {"ERROR NAME"}, {"ERROR NAME"}),

 

On Power BI Desktop everything is working perfect, but if I refresh the report on the Service, I got this error message:

  • Underlying error code-2147467259
  • Underlying error messageSharePoint: Request failed: Unable to connect to the remote server
  • DM_ErrorDetailNameCode_UnderlyingHResult-2147467259
  • Microsoft.Data.Mashup.ValueError.DataSourceKindSharePoint

Please note that all data souce settings are set to organizational.

Could you please give me an idea of how to fix this issue?

 

 

1 REPLY 1
lbendlin
Super User
Super User

Try to use the Sharepoint.Contents connector instead of the Sharepoint.Files connector, and try to use API14 instead of 15.

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 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.