<?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 Authentication VBO in Digital Exchange</title>
    <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58403#M1639</link>
    <description>Thanks Eric, I updated the utility from the Digital Exchange and that resolved that issue.&lt;BR /&gt;&lt;BR /&gt;After running the Authentication I am calling the action "Create Upload Session" from the VBO "Microsoft Graph - Sharepoint Upload Session".&amp;nbsp; However, I received a compile error, it does not recognise the $ on line 6.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Any idea why this might be or how I can resolve it?&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7528.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7703i62FB76644F3BAB71/image-size/large?v=v2&amp;amp;px=999" role="button" title="7528.png" alt="7528.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Willem Borgesius&lt;BR /&gt;Technical Director&lt;BR /&gt;Delta4Services&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Jun 2022 08:22:00 GMT</pubDate>
    <dc:creator>willem.borg</dc:creator>
    <dc:date>2022-06-13T08:22:00Z</dc:date>
    <item>
      <title>Microsoft Graph Authentication VBO</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58401#M1637</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I am trying to use the &lt;SPAN class="fontstyle0"&gt;Microsoft Graph - SharePoint Upload Session VBO v2.0&lt;/SPAN&gt; from DX.&amp;nbsp; As first step I need Blue Prism to authenticate against Sharepoint, I am trying to use the Application Access route.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Status output from Utility - HTTP missing?&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;We have generated the Client ID, Tenant ID and Secret.&amp;nbsp; &amp;nbsp;I put those as inputs for the action Get Application Access Token ( Microsoft Graph - Authentication VBO ).&amp;nbsp; When I step over it gives me an error: &lt;BR /&gt;&lt;BR /&gt;"Internal: Cannot perform = operation when the left-hand value is empty.".&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;When I step into Get Application Access Token, I can see this is because the Request Token action that is referenced (part of Utility - HTTP) does not have an Output called Status (or perhaps Status Code?).&amp;nbsp; I have looked in BP version 6.6.0 and in 6.10.4, and the Utility - HTTP in both versions of BP does not seem have the Status output that is used in the Authentication VBO to see if&amp;nbsp; Status=200.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;The DX page suggests that version 6 is supported, so why is the Status output missing?&amp;nbsp; ( Am I missing something ? )&lt;BR /&gt;&lt;BR /&gt;Many thanks,&lt;BR /&gt;Willem&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Willem Borgesius&lt;BR /&gt;Technical Director&lt;BR /&gt;Delta4Services&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 10 Jun 2022 16:17:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58401#M1637</guid>
      <dc:creator>willem.borg</dc:creator>
      <dc:date>2022-06-10T16:17:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph Authentication VBO</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58402#M1638</link>
      <description>Hi &lt;A class="user-content-mention" data-sign="@" data-contactkey="c8b52dc0-aa94-41cc-88d5-bde453e497e9" data-tag-text="@Willem Borgesius" href="https://community.blueprism.com/network/profile?UserKey=c8b52dc0-aa94-41cc-88d5-bde453e497e9" data-itemmentionkey="07866069-d9e5-4e39-aa61-e27985c9b5df"&gt;@Willem Borgesius&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Please download the latest version of the &lt;A href="https://digitalexchange.blueprism.com/dx/entry/3439/solution/utility---http" target="_blank" rel="noopener"&gt;Utility - HTTP&lt;/A&gt; VBO from the Digital Exchange. It should have a note on the &lt;EM&gt;&lt;STRONG&gt;Initialise&lt;/STRONG&gt;&lt;/EM&gt; tab that shows &lt;STRONG&gt;Version: 6.10.3&lt;/STRONG&gt;. This includes the output parameter &lt;STRONG&gt;Status Code&lt;/STRONG&gt; in the &lt;EM&gt;&lt;STRONG&gt;HTTP Request&lt;/STRONG&gt;&lt;/EM&gt; action.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&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>Sun, 12 Jun 2022 11:47:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58402#M1638</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-06-12T11:47:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph Authentication VBO</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58403#M1639</link>
      <description>Thanks Eric, I updated the utility from the Digital Exchange and that resolved that issue.&lt;BR /&gt;&lt;BR /&gt;After running the Authentication I am calling the action "Create Upload Session" from the VBO "Microsoft Graph - Sharepoint Upload Session".&amp;nbsp; However, I received a compile error, it does not recognise the $ on line 6.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Any idea why this might be or how I can resolve it?&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="7528.png"&gt;&lt;img src="https://community.blueprism.com/t5/image/serverpage/image-id/7703i62FB76644F3BAB71/image-size/large?v=v2&amp;amp;px=999" role="button" title="7528.png" alt="7528.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Willem Borgesius&lt;BR /&gt;Technical Director&lt;BR /&gt;Delta4Services&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Jun 2022 08:22:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58403#M1639</guid>
      <dc:creator>willem.borg</dc:creator>
      <dc:date>2022-06-13T08:22:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph Authentication VBO</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58404#M1640</link>
      <description>Hello &lt;A class="user-content-mention" data-sign="@" data-contactkey="c8b52dc0-aa94-41cc-88d5-bde453e497e9" data-tag-text="@Willem Borgesius" href="https://community.blueprism.com/network/profile?UserKey=c8b52dc0-aa94-41cc-88d5-bde453e497e9" data-itemmentionkey="ee1dcda3-68bc-4ffb-afd0-68264d014afd"&gt;@Willem Borgesius&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Couple questions for you:&lt;BR /&gt;&lt;BR /&gt;
&lt;OL&gt;
&lt;LI&gt;What version of the Blue Prism are you running?&lt;/LI&gt;
&lt;LI&gt;What locale (ex. en-UK)?&lt;/LI&gt;
&lt;LI&gt;What version(s) of the .NET Framework are installed on your machine?&lt;/LI&gt;
&lt;/OL&gt;
&lt;BR /&gt;The &lt;STRONG&gt;$&lt;/STRONG&gt;, in this context, is a C# operator for string interpolation. In other words, it's converting everything that shows up between curly braces (i.e. { }) as variables and replacing them with their actual values. The feature was introduced in C# v6 back in 2015, so I imagine it shouldn't be an issue of older .NET version. ​&lt;BR /&gt;&lt;BR /&gt;You can change the line to the more traditional string concatenation format. Following is an example. Just replace the line in your VBO with this one:&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-csharp"&gt;&lt;CODE&gt;string url = "https://graph.microsoft.com/v1.0/sites/" + siteId + "/drives/" + driveId + "/" + folderPath + "/" + fileName + ":/createUploadSession";
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;BR /&gt;That should take care of you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&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>Mon, 13 Jun 2022 10:39:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58404#M1640</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-06-13T10:39:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph Authentication VBO</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58405#M1641</link>
      <description>Thanks Eric, that replacement code works fine.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;In answer to your questions:&lt;BR /&gt;&lt;BR /&gt;1. What version of the Blue Prism are you running?&lt;BR /&gt;&lt;BR /&gt;6.6.0&lt;BR /&gt;&lt;BR /&gt;2. What locale (ex. en-UK)?&lt;BR /&gt;I believe it is en-UK&lt;BR /&gt;&lt;BR /&gt;3. What version(s) of the .NET Framework are installed on your machine?&lt;BR /&gt;.NET Framework 4.8&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Willem Borgesius&lt;BR /&gt;Technical Director&lt;BR /&gt;Delta4Services&lt;BR /&gt;Europe/London&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Jun 2022 13:21:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58405#M1641</guid>
      <dc:creator>willem.borg</dc:creator>
      <dc:date>2022-06-13T13:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph Authentication VBO</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58406#M1642</link>
      <description>&lt;A class="user-content-mention" data-sign="@" data-contactkey="c8b52dc0-aa94-41cc-88d5-bde453e497e9" data-tag-text="@Willem Borgesius" href="https://community.blueprism.com/network/profile?UserKey=c8b52dc0-aa94-41cc-88d5-bde453e497e9" data-itemmentionkey="525302ec-8624-4690-9bf4-5d643417a146"&gt;@Willem Borgesius&lt;/A&gt;,&lt;BR /&gt;&lt;BR /&gt;Glad to hear the revised line works for you. BP v6.6 requires .NET v4.7 or later which would be at least C# 7, so that doesn't seem to be the issue here. We'll try to fine some time to recreate your environment and see if we can get the same exception because we're not seeing it in our environments. &lt;span class="lia-unicode-emoji" title=":thinking_face:"&gt;🤔&lt;/span&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>Mon, 13 Jun 2022 13:35:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58406#M1642</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-06-13T13:35:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph Authentication VBO</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58407#M1643</link>
      <description>&lt;P&gt;How did you generate access token ,&lt;SPAN&gt;Client ID, Tenant ID and Secret&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Temitayo Oladimeji&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Jan 2024 11:49:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58407#M1643</guid>
      <dc:creator>Medico</dc:creator>
      <dc:date>2024-01-19T11:49:00Z</dc:date>
    </item>
    <item>
      <title>RE: Microsoft Graph Authentication VBO</title>
      <link>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58408#M1644</link>
      <description>&lt;P&gt;&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/4230"&gt;@Medico&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;The Client ID, Client Secret, and Tenant ID would generally be provided to you by your Azure administrator when they create the application registration for you in Azure AD. Once you have those, you can use the MSAL.NET connector, available on the Digital Exchange, to request an access token.&lt;/P&gt;
&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&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>Fri, 19 Jan 2024 16:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Digital-Exchange/Microsoft-Graph-Authentication-VBO/m-p/58408#M1644</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2024-01-19T16:02:00Z</dc:date>
    </item>
  </channel>
</rss>

