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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
Johanno
Continued Contributor
Continued Contributor

AD Microsoft Graph via Odata Feed refresh in Power BI service

Hi! Have a connection to AD using: 

 

let
    Source = OData.Feed("https://graph.windows.net/DOMAIN.onmicrosoft.com/users", null, [Implementation="2.0", Query=[#"api-version"="1.6"]])
in
    Source

 

 

I login using Organization credentials in Power BI Desktop - refresh works fine.

 

When I upload to the service and try to enter credentials I get:

Johanno_1-1620307532217.png

 

So then I try with a gateway and anonymous and get:

Johanno_2-1620307624816.png

 

If I use a gateway with OAuth2 after an hour nothing happens and I can't press "Enter credentials".

 

Any hints on refreshing in Power BI Service for and Odata feed connecting to Microsoft Graph Azure AD? Anyone succeeded?

 

Tried:

- Every combination in the service

- Different versions of api (1.4, 1.5 and 1.6)

Out of options..

1 ACCEPTED SOLUTION
v-kkf-msft
Community Support
Community Support

Hi @Johanno ,

 

As far as I know, the OData connector is currently not supported to connect to Microsoft Graph.

 

This means that you may need to create a custom connector to access it. 

https://docs.microsoft.com/en-us/connectors/custom-connectors/define-blank . 

Here's a sample connector: 

https://github.com/Microsoft/DataConnectors/blob/0621c3d7e7cc4d32df2193e0d5ebfb488f344453/samples/My...

 

Or use the way to do it without any functions or connectors.

Easily connecting between Power Query / Power BI and Microsoft Graph 

 

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

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

2 REPLIES 2
Johanno
Continued Contributor
Continued Contributor

Thank you! The way I solved it was using the link without custom connector:

https://minkus.medium.com/easily-connecting-between-power-query-power-bi-and-microsoft-graph-72333eb... 

v-kkf-msft
Community Support
Community Support

Hi @Johanno ,

 

As far as I know, the OData connector is currently not supported to connect to Microsoft Graph.

 

This means that you may need to create a custom connector to access it. 

https://docs.microsoft.com/en-us/connectors/custom-connectors/define-blank . 

Here's a sample connector: 

https://github.com/Microsoft/DataConnectors/blob/0621c3d7e7cc4d32df2193e0d5ebfb488f344453/samples/My...

 

Or use the way to do it without any functions or connectors.

Easily connecting between Power Query / Power BI and Microsoft Graph 

 

 

If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.

Best Regards,
Winniz

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

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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