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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
Anonymous
Not applicable

Get data from teams using microsoft graph api

Hi everyone

I need create a report with data from microsoft teams.
Basically I need to get these data from team. 

I know it is possible to get data from teams using  microsoft graph api.

  • ReplyMessages
  • PostMessages
  • ChatMessages
  • UrgentMessages
  • MeetingsOrganizedScheduledOneTime
  • MeetingsOrganizedScheduledRecurring
  • TotalMeetingsOrganized
  • MeetingsParticipatedScheduledOneTime
  • MeetingsParticipatedScheduledRecurring
  • MeetingsParticipatedAdhoc
  • TotalMeetingsParticipated
  • 1:1 Calls
  • AudioTime (Minutes)
  • VideoTime (Minutes)
  • ScreenShareTime (Minutes)


Is there someone that already the same and it can help me to do that?

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous 

Here is the overview of Microsoft Graph API which work with Microsoft Teams. You can find all API Teams support in it. For reference: Use the Microsoft Graph API to work with Microsoft Teams

For example we get List replies in Power BI.

Before you call API you need to make sure you have the permission to the rest api. Each API has its requirement, you can find the permission requirements in Blogs. Now List replies API need one of the following permission to call it.  You may refer to this blog about how to assign permissions: Microsoft Graph permissions reference

1.png

Then you can connect to API by OData Feed connector in Power BI Desktop.

GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies

To connect to this API, you need to put parameters: team-id, channel-id, message-id into this url.

For reference:  How to get Microsoft Graph API Data on Microsoft Power BI

Get data from Microsoft teams (shifts)

 

Best Regards,

Rico Zhou

 

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

1 REPLY 1
Anonymous
Not applicable

Hi @Anonymous 

Here is the overview of Microsoft Graph API which work with Microsoft Teams. You can find all API Teams support in it. For reference: Use the Microsoft Graph API to work with Microsoft Teams

For example we get List replies in Power BI.

Before you call API you need to make sure you have the permission to the rest api. Each API has its requirement, you can find the permission requirements in Blogs. Now List replies API need one of the following permission to call it.  You may refer to this blog about how to assign permissions: Microsoft Graph permissions reference

1.png

Then you can connect to API by OData Feed connector in Power BI Desktop.

GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies

To connect to this API, you need to put parameters: team-id, channel-id, message-id into this url.

For reference:  How to get Microsoft Graph API Data on Microsoft Power BI

Get data from Microsoft teams (shifts)

 

Best Regards,

Rico Zhou

 

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.

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.