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
Johanno
Responsive Resident
Responsive Resident

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
Responsive Resident
Responsive Resident

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
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