migueesc123 / PowerBIRESTAPI

A Microsoft Power BI Data Connector or Power Query Connector for the Power BI REST API
MIT License
238 stars 74 forks source link

Question: Follow pattern for using Graph API #98

Closed relax528 closed 2 years ago

relax528 commented 2 years ago

Is there any reason I could use this project as a foundation to create a connector to access the Graph REST API to pull Tasks by Planner data into Power BI? I would think that following the same authentication, the rest would be to build out functions for each of the desired methods. Is that a fair assumption?

migueesc123 commented 2 years ago

Haven't looked at the documentation for the Graph REST API, so I can't comment on that but if it uses the same authentication then you should be able to copy / paste what I did on this one and apply it on your end.

However, i'd still suggest that you check the official documentation for the custom connectors to have a better idea of what needs to be done when using AAD. If you try to use something around scopes, then you'll need to use the OAuth authentication instead to have full control and use your own application and such.

best of luck!