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
Anonymous
Not applicable

Graph API not supporting Schedule Refresh

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!

7 REPLIES 7
v-lid-msft
Community Support
Community Support

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,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

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,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

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,

 

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

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

Anonymous
Not applicable

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

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.

Top Solution Authors
Top Kudoed Authors