cancel
Showing results for 
Search instead for 
Did you mean: 
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.

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Top Solution Authors