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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Grumelo
Advocate II
Advocate II

Web URL not properly recognized as valid Refreshable Source

I'm calling the SharePoint profile API to retrieve user profile data.

A typical call look like this: 

Json.Document(Web.Contents("https://<sharepoint site url>/_api/sp.userprofiles.peoplemanager/getpropertiesfor(@v)?@v='<user account name>'", [Headers=[Accept="application/json"]])))

 

It works perfectly fine in Power BI Desktop.

Once published, when trying to set a scheduled refresh, the following error is returned: 

COM error: Microsoft.PowerBI.ReportServer.ASEngineManagedRoot, The given data source kind is not supported. Data source kind: UnknownCallsite.

Maybe it's the unusual URL caussing this problem?

How to solve this problem?

1 ACCEPTED SOLUTION
Icey
Community Support
Community Support

Hi @Grumelo ,

 

What are you using? Power BI Report Server or Power BI Service?

 

If you are using Power BI Report Server, it is not supported to refresh SharePoint Online data. For the list of supported data sources in Power BI Report Server, please check: 

Power BI report data sources in Power BI Report Server - Power BI | Microsoft Docs.

 

If you are using Power BI Service, it is needed to use Relative Path to refresh in Power BI Service. Try this:

 

Json.Document(Web.Contents("https://<sharepoint site url>/_api/",[RelativePath = "sp.userprofiles.peoplemanager/getpropertiesfor(@v)", Query = [#"@v"="'<user account name>'"], Headers=[Accept="application/json"]]))

 

sharepoint.PNG

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Icey
Community Support
Community Support

Hi @Grumelo ,

 

What are you using? Power BI Report Server or Power BI Service?

 

If you are using Power BI Report Server, it is not supported to refresh SharePoint Online data. For the list of supported data sources in Power BI Report Server, please check: 

Power BI report data sources in Power BI Report Server - Power BI | Microsoft Docs.

 

If you are using Power BI Service, it is needed to use Relative Path to refresh in Power BI Service. Try this:

 

Json.Document(Web.Contents("https://<sharepoint site url>/_api/",[RelativePath = "sp.userprofiles.peoplemanager/getpropertiesfor(@v)", Query = [#"@v"="'<user account name>'"], Headers=[Accept="application/json"]]))

 

sharepoint.PNG

 

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.