Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
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?
Solved! Go to Solution.
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"]]))
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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"]]))
Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
3 | |
3 | |
1 | |
1 | |
1 |
User | Count |
---|---|
8 | |
5 | |
4 | |
4 | |
2 |