<?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: Microsoft Graph - SharePoint Web API Service v2.0 - Authorization in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-SharePoint-Web-API-Service-v2-0-Authorization/m-p/96251#M2906</link>
    <description>There are lots of different permissions available for Microsoft Graph within Active Directory. Below is a screenshot of some of them, but there are more.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35003.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35071i808A26152D4E28DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="35003.png" alt="35003.png" /&gt;&lt;/span&gt;&lt;BR /&gt;If you take a look at the Graph &lt;A href="https://docs.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; for Sites and Lists you'll see the various permissions that are required. I see no reference, in your screenshot, to any of those Site or List permissions.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35004.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35066i1084A6A9466D3B25/image-size/large?v=v2&amp;amp;px=999" role="button" title="35004.png" alt="35004.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric</description>
    <pubDate>Mon, 30 Aug 2021 17:10:55 GMT</pubDate>
    <dc:creator>ewilson</dc:creator>
    <dc:date>2021-08-30T17:10:55Z</dc:date>
    <item>
      <title>Microsoft Graph - SharePoint Web API Service v2.0 - Authorization</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-SharePoint-Web-API-Service-v2-0-Authorization/m-p/96250#M2905</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I'm trying to utilize the Microsoft Graph - SharePoint Web API Service v2.0 VBO asset downloaded from the Digital Exchange.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Running the process according to the manual attached to the asset, I'm unable to perform any action using the Web API. Microsoft Graph is being authorized and an AccessToken is generated. With the token I'm trying to perform a simple action to Get Lists, but it terminates with following message:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;Internal : Unexpected error Error during Web API HTTP Request&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;HTTP Status Code: 403&lt;/CODE&gt;&lt;BR /&gt;&lt;CODE&gt;HTTP Response Content: {"error":{"code":"AccessDenied","message":"Either scp or roles claim need to be present in the token.","innerError":{"date":"2021-08-30T10:41:33","request-id":"c2eec5c5-9a3e-4ccb-955e-f1d323c315a4","client-request-id":"c2eec5c5-9a3e-4ccb-955e-f1d323c315a4"}}}&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;The application in the Azure AD has the same rights according to the PDF Manual. Please see bellow.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35016.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35084i022543B5837620D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="35016.png" alt="35016.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Are we missing some additional rights?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;Tomas Harcar&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 10:44:42 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-SharePoint-Web-API-Service-v2-0-Authorization/m-p/96250#M2905</guid>
      <dc:creator>TomasHarcar</dc:creator>
      <dc:date>2021-08-30T10:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Graph - SharePoint Web API Service v2.0 - Authorization</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-SharePoint-Web-API-Service-v2-0-Authorization/m-p/96251#M2906</link>
      <description>There are lots of different permissions available for Microsoft Graph within Active Directory. Below is a screenshot of some of them, but there are more.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35003.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35071i808A26152D4E28DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="35003.png" alt="35003.png" /&gt;&lt;/span&gt;&lt;BR /&gt;If you take a look at the Graph &lt;A href="https://docs.microsoft.com/en-us/graph/api/resources/sharepoint?view=graph-rest-1.0" target="_blank" rel="noopener"&gt;documentation&lt;/A&gt; for Sites and Lists you'll see the various permissions that are required. I see no reference, in your screenshot, to any of those Site or List permissions.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35004.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35066i1084A6A9466D3B25/image-size/large?v=v2&amp;amp;px=999" role="button" title="35004.png" alt="35004.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric</description>
      <pubDate>Mon, 30 Aug 2021 17:10:55 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-SharePoint-Web-API-Service-v2-0-Authorization/m-p/96251#M2906</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-08-30T17:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Graph - SharePoint Web API Service v2.0 - Authorization</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-SharePoint-Web-API-Service-v2-0-Authorization/m-p/96252#M2907</link>
      <description>Hello Eric,&lt;BR /&gt;&lt;BR /&gt;thank you for checking. I'm referencing the documentation - User Guide for the above-mentioned asset.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35005.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35072iF830EA990DC146AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="35005.png" alt="35005.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I was going only for the one permission displayed in the User Guide, but now seeing that there are 182 more. I will then add as many of them as possible.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;Tomas</description>
      <pubDate>Tue, 31 Aug 2021 05:31:31 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-SharePoint-Web-API-Service-v2-0-Authorization/m-p/96252#M2907</guid>
      <dc:creator>TomasHarcar</dc:creator>
      <dc:date>2021-08-31T05:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Graph - SharePoint Web API Service v2.0 - Authorization</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-SharePoint-Web-API-Service-v2-0-Authorization/m-p/96253#M2908</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="0f3ca856-5dca-4829-998f-d60102344274" data-tag-text="@Tomas Harcar" href="https://community.blueprism.com/network/profile?UserKey=0f3ca856-5dca-4829-998f-d60102344274" data-itemmentionkey="6f94aee3-4319-4ce9-917a-26cef61c3758"&gt;@Tomas Harcar&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;I would try adding the following permissions to your Graph app registration:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="35014.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/35076i32E8DCB34E3E517E/image-size/large?v=v2&amp;amp;px=999" role="button" title="35014.png" alt="35014.png" /&gt;&lt;/span&gt;&lt;BR /&gt;If possible, I would also added them as &lt;STRONG&gt;Application&lt;/STRONG&gt; permissions instead of Delegated. It just seems to make life easier. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric​</description>
      <pubDate>Mon, 04 Oct 2021 16:01:16 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-SharePoint-Web-API-Service-v2-0-Authorization/m-p/96253#M2908</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-10-04T16:01:16Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft Graph - SharePoint Web API Service v2.0 - Authorization</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-SharePoint-Web-API-Service-v2-0-Authorization/m-p/96254#M2909</link>
      <description>&lt;P&gt;Hi Eric,&lt;BR /&gt;&lt;BR /&gt;we were able to ask for more permissions, and most likely a permission &lt;STRONG&gt;Sites.ReadWrite.All&amp;nbsp;&lt;/STRONG&gt;made it work.&lt;BR /&gt;&lt;BR /&gt;I would say the issue is now resolved. &lt;BR /&gt;Thank you for your support&lt;BR /&gt;Tomas&lt;/P&gt;</description>
      <pubDate>Tue, 05 Oct 2021 05:38:40 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-SharePoint-Web-API-Service-v2-0-Authorization/m-p/96254#M2909</guid>
      <dc:creator>TomasHarcar</dc:creator>
      <dc:date>2021-10-05T05:38:40Z</dc:date>
    </item>
  </channel>
</rss>

