<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Get data from teams using microsoft graph api in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-teams-using-microsoft-graph-api/m-p/1932615#M30269</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the overview of&amp;nbsp;Microsoft Graph API which work with Microsoft Teams. You can find all API Teams support in it. For reference:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0" target="_self"&gt;Use the Microsoft Graph API to work with Microsoft Teams&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For example we get List replies in Power BI.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;ReplyMessages : &lt;A href="https://docs.microsoft.com/en-us/graph/api/chatmessage-list-replies?view=graph-rest-1.0&amp;amp;tabs=http" target="_self"&gt;List replies&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;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.&amp;nbsp; You may refer to this blog about how to assign permissions:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/graph/permissions-reference" target="_self"&gt;Microsoft Graph permissions reference&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/544707i4FB8D44F354B5E46/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then you can connect to API by OData Feed connector in Power BI Desktop.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies&lt;/LI-CODE&gt;
&lt;P&gt;To connect to this API, you need to put parameters: team-id, channel-id, message-id into this url.&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&amp;nbsp;&lt;A href="https://blog.mydock365.com/microsoft-graph-api-data-on-microsoft-power-bi" target="_self"&gt;&lt;SPAN class="hs_cos_wrapper hs_cos_wrapper_meta_field hs_cos_wrapper_type_text" data-hs-cos-general-type="meta_field" data-hs-cos-type="text"&gt;How to get Microsoft Graph API Data on Microsoft Power BI&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Get-data-from-Microsoft-teams-shifts/m-p/807676" target="_self"&gt;&lt;SPAN class="hs_cos_wrapper hs_cos_wrapper_meta_field hs_cos_wrapper_type_text" data-hs-cos-general-type="meta_field" data-hs-cos-type="text"&gt;&lt;SPAN&gt;Get data from Microsoft teams (shifts)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rico Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jul 2021 08:13:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-07-01T08:13:33Z</dc:date>
    <item>
      <title>Get data from teams using microsoft graph api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-teams-using-microsoft-graph-api/m-p/1928212#M30216</link>
      <description>&lt;P&gt;Hi everyone&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I need create a report with data from microsoft teams.&lt;BR /&gt;Basically I need to get these data from team.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it is possible to get data from teams using&amp;nbsp; microsoft graph api.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;ReplyMessages&lt;/LI&gt;&lt;LI&gt;PostMessages&lt;/LI&gt;&lt;LI&gt;ChatMessages&lt;/LI&gt;&lt;LI&gt;UrgentMessages&lt;/LI&gt;&lt;LI&gt;MeetingsOrganizedScheduledOneTime&lt;/LI&gt;&lt;LI&gt;MeetingsOrganizedScheduledRecurring&lt;/LI&gt;&lt;LI&gt;TotalMeetingsOrganized&lt;/LI&gt;&lt;LI&gt;MeetingsParticipatedScheduledOneTime&lt;/LI&gt;&lt;LI&gt;MeetingsParticipatedScheduledRecurring&lt;/LI&gt;&lt;LI&gt;MeetingsParticipatedAdhoc&lt;/LI&gt;&lt;LI&gt;TotalMeetingsParticipated&lt;/LI&gt;&lt;LI&gt;1:1 Calls&lt;/LI&gt;&lt;LI&gt;AudioTime (Minutes)&lt;/LI&gt;&lt;LI&gt;VideoTime (Minutes)&lt;/LI&gt;&lt;LI&gt;ScreenShareTime (Minutes)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;BR /&gt;Is there someone that already the same and it can help me to do that?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 12:34:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-teams-using-microsoft-graph-api/m-p/1928212#M30216</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-06-29T12:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from teams using microsoft graph api</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-teams-using-microsoft-graph-api/m-p/1932615#M30269</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the overview of&amp;nbsp;Microsoft Graph API which work with Microsoft Teams. You can find all API Teams support in it. For reference:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0" target="_self"&gt;Use the Microsoft Graph API to work with Microsoft Teams&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;For example we get List replies in Power BI.&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;ReplyMessages : &lt;A href="https://docs.microsoft.com/en-us/graph/api/chatmessage-list-replies?view=graph-rest-1.0&amp;amp;tabs=http" target="_self"&gt;List replies&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;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.&amp;nbsp; You may refer to this blog about how to assign permissions:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/graph/permissions-reference" target="_self"&gt;Microsoft Graph permissions reference&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/544707i4FB8D44F354B5E46/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Then you can connect to API by OData Feed connector in Power BI Desktop.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}/replies&lt;/LI-CODE&gt;
&lt;P&gt;To connect to this API, you need to put parameters: team-id, channel-id, message-id into this url.&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&amp;nbsp;&lt;A href="https://blog.mydock365.com/microsoft-graph-api-data-on-microsoft-power-bi" target="_self"&gt;&lt;SPAN class="hs_cos_wrapper hs_cos_wrapper_meta_field hs_cos_wrapper_type_text" data-hs-cos-general-type="meta_field" data-hs-cos-type="text"&gt;How to get Microsoft Graph API Data on Microsoft Power BI&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Desktop/Get-data-from-Microsoft-teams-shifts/m-p/807676" target="_self"&gt;&lt;SPAN class="hs_cos_wrapper hs_cos_wrapper_meta_field hs_cos_wrapper_type_text" data-hs-cos-general-type="meta_field" data-hs-cos-type="text"&gt;&lt;SPAN&gt;Get data from Microsoft teams (shifts)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Rico Zhou&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt; to help the other members find it more quickly.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 08:13:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-teams-using-microsoft-graph-api/m-p/1932615#M30269</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-07-01T08:13:33Z</dc:date>
    </item>
  </channel>
</rss>

