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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
Anonymous
Not applicable

Graph API Error

Hallo,

 

i need data from the Graph API in PBI.

I can use the Graph Explorer without any problems and have Permissions

Cano_1-1645627099828.png

When i use Web or 0Data feed i get a forbidden error:

Cano_2-1645627166802.png

Cano_3-1645627176872.png

 

What can i do??

 

1 ACCEPTED SOLUTION
Watsky
Solution Sage
Solution Sage

Hi @Anonymous ,

Since MS Graph uses OAuth 2.0 you'll need to

  • Register an app in Azure; and
  • Create a custom connector to get it working in Power BI. 

Solved: Use Microsoft Graph API as data source - Microsoft Power BI Community

Microsoft does have a GitHub page dedicated to custom connectors with one of the samples being a MS Graph example (MyGraph) and a getting started guide. GitHub - microsoft/DataConnectors: Data Connector SDK and samples for Power Query and Power BI

You can also take a look at Microsoft Graph auth overview | Microsoft Docs for an overview of the authentication portion. 


Did my answer(s) help you? Give it a kudos by clicking the Thumbs Up!
Did my post answer your question(s)? Mark my post as a solution. This will help others find the solution.

Proud to be a Super User!

View solution in original post

1 REPLY 1
Watsky
Solution Sage
Solution Sage

Hi @Anonymous ,

Since MS Graph uses OAuth 2.0 you'll need to

  • Register an app in Azure; and
  • Create a custom connector to get it working in Power BI. 

Solved: Use Microsoft Graph API as data source - Microsoft Power BI Community

Microsoft does have a GitHub page dedicated to custom connectors with one of the samples being a MS Graph example (MyGraph) and a getting started guide. GitHub - microsoft/DataConnectors: Data Connector SDK and samples for Power Query and Power BI

You can also take a look at Microsoft Graph auth overview | Microsoft Docs for an overview of the authentication portion. 


Did my answer(s) help you? Give it a kudos by clicking the Thumbs Up!
Did my post answer your question(s)? Mark my post as a solution. This will help others find the solution.

Proud to be a Super User!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.