<?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 Microsoft Graph API returns only 200 records for items within list in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71669#M24274</link>
    <description>How would you get all the items in a list using Microsoft Graph API - currently only returns 200.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Romy Gutbier&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Tue, 05 Jul 2022 07:35:00 GMT</pubDate>
    <dc:creator>RomyGutbier1</dc:creator>
    <dc:date>2022-07-05T07:35:00Z</dc:date>
    <item>
      <title>Microsoft Graph API returns only 200 records for items within list</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71669#M24274</link>
      <description>How would you get all the items in a list using Microsoft Graph API - currently only returns 200.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Romy Gutbier&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jul 2022 07:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71669#M24274</guid>
      <dc:creator>RomyGutbier1</dc:creator>
      <dc:date>2022-07-05T07:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph API returns only 200 records for items within list</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71670#M24275</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="bee05672-5abf-47a2-8b70-b5d0b6be053f" data-tag-text="@Romy Gutbier" href="https://community.blueprism.com/network/profile?UserKey=bee05672-5abf-47a2-8b70-b5d0b6be053f" data-itemmentionkey="710648bd-4d5a-4cb1-a141-f7c6ec031e32"&gt;@Romy Gutbier&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It sounds like you are hitting the default pagesize. There are two methods you can use to work with this:&lt;BR /&gt;&lt;BR /&gt;
&lt;OL&gt;
&lt;LI&gt;Use the URL in the &lt;SPAN style="font-family: courier, courier new, serif; color: green;"&gt;@odata.nextLink&lt;/SPAN&gt; object, returned in the response, to process the next set of data until there is no more data to retrieve. The setback to this is that it is very cumbersome to put together.&lt;/LI&gt;
&lt;LI&gt;Add a &lt;SPAN style="font-family: courier, courier new, serif; color: green;"&gt;$top&lt;/SPAN&gt; query parameter option to specify a large number of items to be returned (I always set it way higher than I expect to retrieve). The setback to this is that your request could take a fair amount of time, depending on the number of items, but it does make it a lot easier to work with.&lt;/LI&gt;
&lt;/OL&gt;
​​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Micheal Charron&lt;BR /&gt;Senior Manager&lt;BR /&gt;RBC&lt;BR /&gt;America/Toronto&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jul 2022 12:06:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71670#M24275</guid>
      <dc:creator>MichealCharron</dc:creator>
      <dc:date>2022-07-05T12:06:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph API returns only 200 records for items within list</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71671#M24276</link>
      <description>I was trying to use a query filter on a field within the list at the lists level, with expand but this returns no results as the expand is on a lower level.&amp;nbsp; Can you go down 2 levels e.g. the return is collection1 where .value is the lower level and I need to get to the details of that level for the name of the record I require.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I will try the top and see how it goes.&amp;nbsp; Thanks Michael!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Romy Gutbier&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jul 2022 12:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71671#M24276</guid>
      <dc:creator>RomyGutbier1</dc:creator>
      <dc:date>2022-07-05T12:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph API returns only 200 records for items within list</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71672#M24277</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="bee05672-5abf-47a2-8b70-b5d0b6be053f" data-tag-text="@Romy Gutbier" href="https://community.blueprism.com/network/profile?UserKey=bee05672-5abf-47a2-8b70-b5d0b6be053f" data-itemmentionkey="77bd8192-7e78-4972-b75b-bf86af525763"&gt;@Romy Gutbier&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Are you working directly with the Graph API, or are you using one of the connectors from the DX (i.e. ​&lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-graph-api---sharepoint" target="_blank" rel="noopener"&gt;Microsoft Graph API - SharePoint&lt;/A&gt;)?&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jul 2022 13:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71672#M24277</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-07-05T13:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph API returns only 200 records for items within list</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71673#M24278</link>
      <description>Eric,&amp;nbsp; I'm using one of the connectors from DX.&amp;nbsp; I added a new one to it for using expand.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Romy Gutbier&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jul 2022 22:05:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71673#M24278</guid>
      <dc:creator>RomyGutbier1</dc:creator>
      <dc:date>2022-07-05T22:05:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph API returns only 200 records for items within list</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71674#M24279</link>
      <description>Essentially, I need the list item id based on the project number matching.&amp;nbsp; The collection name is ListItems, the expanded list for the first 200 records is the value and from there need to expand the fields to find the project number and get the list item id.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Romy Gutbier&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jul 2022 23:53:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71674#M24279</guid>
      <dc:creator>RomyGutbier1</dc:creator>
      <dc:date>2022-07-05T23:53:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph API returns only 200 records for items within list</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71675#M24280</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="bee05672-5abf-47a2-8b70-b5d0b6be053f" data-tag-text="@Romy Gutbier" href="https://community.blueprism.com/network/profile?UserKey=bee05672-5abf-47a2-8b70-b5d0b6be053f" data-itemmentionkey="b5a890f9-2ee5-42a2-acfa-f58e1e9058d9"&gt;@Romy Gutbier&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Ok, so I assume you're calling the &lt;STRONG&gt;Get Items in List&lt;/STRONG&gt; action? If so, it's pretty much as &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/548"&gt;@MichealCharron&lt;/a&gt; pointed out. You're hitting page limits. This is actually something we need to improve in this connector. We've done something similar in the &lt;STRONG&gt;Microsoft Graph API - Outlook&lt;/STRONG&gt; connector. It boils down to pulling out the value of the &lt;STRONG&gt;@odata.nextLink&lt;/STRONG&gt; element and ten using that URL to request the next page of items.&lt;BR /&gt;&lt;BR /&gt;You might want to take a look at the Outlook connector to see how we do it. There's an action called &lt;STRONG&gt;Get NextLink&lt;/STRONG&gt; that makes the request back to the Graph server. Other requests, that return a nextLink value expose it as an output parameter.&lt;BR /&gt;&lt;BR /&gt;I'll add this as an enhancement request to our backlog.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jul 2022 16:38:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71675#M24280</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-07-06T16:38:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph API returns only 200 records for items within list</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71676#M24281</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="bee05672-5abf-47a2-8b70-b5d0b6be053f" data-tag-text="@Romy Gutbier" href="https://community.blueprism.com/network/profile?UserKey=bee05672-5abf-47a2-8b70-b5d0b6be053f" data-itemmentionkey="08e9ba57-9330-4516-a5bd-17d1ef547c3a"&gt;@Romy Gutbier&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;We were able to open up some time today to implement paging support in the connector. If you grab the latest version from the DX, you should see a new action titled &lt;EM&gt;&lt;STRONG&gt;Get NextLink&lt;/STRONG&gt;&lt;/EM&gt; that can be used to request the next page of data for paged responses. Any of the existing endpoints that support paging now include a new output parameter called &lt;STRONG&gt;NextLinkToken&lt;/STRONG&gt; that you would pass into the &lt;EM&gt;&lt;STRONG&gt;Get NextLink&lt;/STRONG&gt;&lt;/EM&gt; action.&lt;BR /&gt;&lt;BR /&gt;You can find the latest connector &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/microsoft-graph-api---sharepoint" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jul 2022 17:41:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71676#M24281</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-07-06T17:41:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph API returns only 200 records for items within list</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71677#M24282</link>
      <description>Hi Eric,&lt;BR /&gt;&lt;BR /&gt;I have implemented this solution and it works correctly, albeit a very blunt force way of doing it.&amp;nbsp; I assume there is no query that can go down 2 levels, sort of expand on expand?&amp;nbsp; Thanks!&lt;BR /&gt;&lt;BR /&gt;Romy&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Romy Gutbier&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jul 2022 00:30:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71677#M24282</guid>
      <dc:creator>RomyGutbier1</dc:creator>
      <dc:date>2022-07-07T00:30:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph API returns only 200 records for items within list</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71678#M24283</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="bee05672-5abf-47a2-8b70-b5d0b6be053f" data-tag-text="@Romy Gutbier" href="https://community.blueprism.com/network/profile?UserKey=bee05672-5abf-47a2-8b70-b5d0b6be053f" data-itemmentionkey="94943c23-f990-4e3b-bd74-6407c884c145"&gt;@Romy Gutbier&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;There's nothing in the connector itself for this, but the Graph API does support OData​ via query parameters that can be used to customize the responses data.&lt;BR /&gt;&lt;BR /&gt;I haven't looked to deeply at, but there are options for filtering and searching. You might take a look at the linked page for details. If any of these options seem like they'd help, you can always customize the Web API definition.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/graph/query-parameters" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/graph/query-parameters&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Integrations and Enablement&lt;BR /&gt;Blue Prism Digital Exchange&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Jul 2022 01:34:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Microsoft-Graph-API-returns-only-200-records-for-items-within/m-p/71678#M24283</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-07-07T01:34:00Z</dc:date>
    </item>
  </channel>
</rss>

