<?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: How to set up Microsoft Graph API with only Delegated Permissions? in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55039#M9447</link>
    <description>Hello Allen,&lt;BR /&gt;&lt;BR /&gt;Currently we are still testing the delegated premission setup with our Security Team, but we have seen some promising test results!&lt;BR /&gt;For example, using the delegated setup, the robot is only able to access the documents on SharePoint sites to which it has been added as a member.&lt;BR /&gt;&lt;BR /&gt;To make use of a delegated setup, we have created an additional custom API reference in Blue Prism to request a Bearer Access token using the &lt;STRONG&gt;OAuth 2.0 resource&lt;/STRONG&gt; &lt;STRONG&gt;Password Grant type &lt;/STRONG&gt;reference (see url: &lt;A href="https://docs.microsoft.com/nl-nl/azure/active-directory/develop/v2-oauth-ropc" target="_blank" rel="noopener"&gt;Aanmelden met wachtwoord referenties voor de resource-eigenaar - Microsoft identity platform | Microsoft Docs&lt;/A&gt;). For obtaining a delegated access token, you will need to pass the &lt;STRONG&gt;TenantID&lt;/STRONG&gt;, &lt;STRONG&gt;ClientID&lt;/STRONG&gt;, &lt;STRONG&gt;ClientSecret&lt;/STRONG&gt;, &lt;STRONG&gt;UserName&lt;/STRONG&gt; and &lt;STRONG&gt;Password&lt;/STRONG&gt; as input parameters (note the body has to be in XML).&lt;BR /&gt;&lt;BR /&gt;Attached you will find some screen cature regarding the setup.&lt;BR /&gt;&lt;BR /&gt;Hopes this helps you with you query!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Arthur Philippa&lt;BR /&gt;RPA Developer&lt;BR /&gt;Port of Rotterdam&lt;BR /&gt;Europe/Amsterdam&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 29 Mar 2021 13:14:00 GMT</pubDate>
    <dc:creator>AP.Philippa</dc:creator>
    <dc:date>2021-03-29T13:14:00Z</dc:date>
    <item>
      <title>How to set up Microsoft Graph API with only Delegated Permissions?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55036#M9444</link>
      <description>&lt;P&gt;Dear BP community,&lt;BR /&gt;&lt;BR /&gt;Lately we have been testing with the use of the Microsoft Graph API in Blue Prism. For our tests we have made use of the preconfigured &lt;STRONG&gt;Excel Graph API object&lt;/STRONG&gt;, which we have downloaded from the Digital Exchange.&lt;/P&gt;
&lt;P&gt;Following the prerequisites steps, we have created an App Registration on our Azure AD test tenant. As the authentication uses only a client ID and secret, we for now have had to provide the App with solely Read/Write &lt;STRONG&gt;Application permissions&lt;/STRONG&gt;. With this setup, we were successful in using the Excel API actions in our test environment.&lt;/P&gt;
&lt;P&gt;However, unfortunately our organization has a strict policy regarding the use of application permissions in Azure AD Apps. We therefore are looking for a way of using the Microsoft Graph API with &lt;STRONG&gt;only Delegated permissions enabled&lt;/STRONG&gt;. For example, we ideally would like to restrict the Graph API in such a way that a robot is only able to edit a file/folder on a SharePoint site, when that account explicitly has been granted access to that particular site with its account (Windows AD).&lt;/P&gt;
&lt;P&gt;Could anyone therefore advise us on how we can configure our Microsoft Graph webservices object in such a way that we can make use of a delegated permissions setup?&lt;/P&gt;
&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Arthur Philippa&lt;BR /&gt;RPA Developer&lt;BR /&gt;Port of Rotterdam&lt;BR /&gt;Europe/Amsterdam&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Thu, 25 Feb 2021 18:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55036#M9444</guid>
      <dc:creator>AP.Philippa</dc:creator>
      <dc:date>2021-02-25T18:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to set up Microsoft Graph API with only Delegated Permissions?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55037#M9445</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/937"&gt;@AP.Philippa&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I haven't tested this scenario yet, but I have been giving it a little thought. What you're describing is essentially an OAuth Authorization Code Flow. The general process is that a human is presented with a login or authorization screen, in the browser, where they click approve or whatever and at that point permission is granted to the application to continue.&lt;BR /&gt;&lt;BR /&gt;Keep in mind that a human will have to be logged into the Runtime Resource to be able to provide the authorization unless you're going to build a VBO to do it? &lt;BR /&gt;&lt;BR /&gt;Check out this page on the Microsoft Graph site:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://docs.microsoft.com/en-us/graph/auth-v2-user" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/graph/auth-v2-user&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It discusses how the scopes and a few other things would need to change in your app configuration on AD as well as the "Common Authentication" section of the Web API service definition in Blue Prism.&lt;BR /&gt;&lt;BR /&gt;Hopefully this helps.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Eric Wilson&lt;BR /&gt;Director, Partner Integrations for Digital Exchange&lt;BR /&gt;Blue Prism&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Feb 2021 13:43:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55037#M9445</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-02-26T13:43:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to set up Microsoft Graph API with only Delegated Permissions?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55038#M9446</link>
      <description>Hello Arthur&lt;BR /&gt;&lt;BR /&gt;Hope that you are doing well?&lt;BR /&gt;&lt;BR /&gt;We have a similar challenge to solve using Graph API and Blueprism where we are trying to access O365 Mailboxes and manage emails via Blueprism rather than using outlook VBO and incurring the O365 licensing cost. &lt;BR /&gt;&lt;BR /&gt;Did you manage to find a solution to your question you posted?&amp;nbsp; I'm keen to understand if you have been able to solve this challenge how you managed to do this. We in discussions with our organizations security team regarding the exact topic.&lt;BR /&gt;&lt;BR /&gt;Your feedback will be appreciated&lt;BR /&gt;&lt;BR /&gt;Allan​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Allan Ross&lt;BR /&gt;Digital Technologist&lt;BR /&gt;Nedbank&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Mar 2021 13:46:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55038#M9446</guid>
      <dc:creator>AllanRo</dc:creator>
      <dc:date>2021-03-26T13:46:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to set up Microsoft Graph API with only Delegated Permissions?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55039#M9447</link>
      <description>Hello Allen,&lt;BR /&gt;&lt;BR /&gt;Currently we are still testing the delegated premission setup with our Security Team, but we have seen some promising test results!&lt;BR /&gt;For example, using the delegated setup, the robot is only able to access the documents on SharePoint sites to which it has been added as a member.&lt;BR /&gt;&lt;BR /&gt;To make use of a delegated setup, we have created an additional custom API reference in Blue Prism to request a Bearer Access token using the &lt;STRONG&gt;OAuth 2.0 resource&lt;/STRONG&gt; &lt;STRONG&gt;Password Grant type &lt;/STRONG&gt;reference (see url: &lt;A href="https://docs.microsoft.com/nl-nl/azure/active-directory/develop/v2-oauth-ropc" target="_blank" rel="noopener"&gt;Aanmelden met wachtwoord referenties voor de resource-eigenaar - Microsoft identity platform | Microsoft Docs&lt;/A&gt;). For obtaining a delegated access token, you will need to pass the &lt;STRONG&gt;TenantID&lt;/STRONG&gt;, &lt;STRONG&gt;ClientID&lt;/STRONG&gt;, &lt;STRONG&gt;ClientSecret&lt;/STRONG&gt;, &lt;STRONG&gt;UserName&lt;/STRONG&gt; and &lt;STRONG&gt;Password&lt;/STRONG&gt; as input parameters (note the body has to be in XML).&lt;BR /&gt;&lt;BR /&gt;Attached you will find some screen cature regarding the setup.&lt;BR /&gt;&lt;BR /&gt;Hopes this helps you with you query!&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Arthur Philippa&lt;BR /&gt;RPA Developer&lt;BR /&gt;Port of Rotterdam&lt;BR /&gt;Europe/Amsterdam&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Mar 2021 13:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55039#M9447</guid>
      <dc:creator>AP.Philippa</dc:creator>
      <dc:date>2021-03-29T13:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to set up Microsoft Graph API with only Delegated Permissions?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55040#M9448</link>
      <description>Hi everyone!&lt;BR /&gt;&lt;BR /&gt;I can see the VBO to retrieve the Delegated Access Token is included in the MS Teams Graph VBO which was recently released. It is named "Microsoft Graph - Teams Authentication".&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Am I right that I can use that VBO to get an Access Token for all the MS Graph VBOs which were yet released in the DX? If so then the name "Teams Authentication" might be a bit misleading in the release.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Til&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Til Minet&lt;BR /&gt;RPA Developer&lt;BR /&gt;EWE AG Germany&lt;BR /&gt;Europe/Berlin&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Mar 2021 14:42:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55040#M9448</guid>
      <dc:creator>til.minet</dc:creator>
      <dc:date>2021-03-29T14:42:00Z</dc:date>
    </item>
    <item>
      <title>RE: How to set up Microsoft Graph API with only Delegated Permissions?</title>
      <link>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55041#M9449</link>
      <description>Hello Arthur&lt;BR /&gt;&lt;BR /&gt;Thanks for sharing this.&amp;nbsp; This really helps guide us in the right direction.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Allan&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Allan Ross&lt;BR /&gt;Digital Technologist&lt;BR /&gt;Nedbank&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 29 Mar 2021 15:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/How-to-set-up-Microsoft-Graph-API-with-only-Delegated/m-p/55041#M9449</guid>
      <dc:creator>AllanRo</dc:creator>
      <dc:date>2021-03-29T15:27:00Z</dc:date>
    </item>
  </channel>
</rss>

