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.
Hi all,
I am using Intune Graph API to pull data for my reports. For this, I created a custom connector as described in the MS doc. I am able to update my data in the Desktop app. In PBI Service, Schedule Refresh does not work. I get the following error:
You can't schedule refresh for this dataset because the following data sources currently don't support refresh:
• Data source for Graph
Discover Data Sources
Query contains unknown function name: MyGraph.Feed
What do I have to configure to make it work? thanks for every hint!
Hi @Anonymous ,
Based on my research, When you build reports in Power BI Desktop that use custom data connectors, you can use the on-premises data gateway to refresh those reports from the Power BI service.
Please refer to this document to get more information: https://docs.microsoft.com/en-us/power-bi/service-gateway-custom-connectors
Best regards,
Hi, since Intune Graph API is hosted on Azure, a on-premises data gateway does not make sense for me.
Hi @Anonymous ,
Using gateway is required if you want refresh the data connected by custom connector , even the source data is cloud-base, the main reason is that power bi service does not have the custom connector you made to connect data source.
Best regards,
OK. I'll give it a try.
Hi @Anonymous ,
How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?
Best regards,
Hi!
I could fix the error above by changing the URL from
https://graph.microsoft.com/beta/deviceManagement/managedDevices to
https://graph.microsoft.com/v1.0/deviceManagement/managedDevices in the MEZ file. I suppose that MS has modified something here.
But after configuring the on-prem data gateway I still get the error which I sent in the first post of this thread.
It seems this is not the solution to get the data refreshed automatically.
Thanks,
Trang
Hi, not yet because I am currently troubleshooting my Graph API connector. It no longer works suddenly and it keeps throwing this error when I try to refresh the data in PBI Desktop:
Unable to connect
We encountered an error while trying to connect.
Details: "The feed's metadata document appears to be invalid. Error: The type microsoft.graph.dataLossPreventionPolicy has conflicting definitions for the property id."
Do you know what it means and how to solve that?
Thanks,
Trang
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.