<?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 Getting user information with GRAPH API in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Getting-user-information-with-GRAPH-API/m-p/96664#M44857</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have recently shifted to OAuth for SharePoint file upload and download and doing it via GRAPH APIs&lt;BR /&gt;I am trying to upload&amp;nbsp; a file to share point folder and if the file is locked/opened by some other user , it gets error message "resource locked", as shown below.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Error Message: {"error":{"code":"notAllowed","innerError":{"code":"resourceLocked"},"message":"The resource you are attempting to access is locked"}}&lt;/EM&gt; &lt;BR /&gt;&lt;BR /&gt;however it does not return which user has locked the file/resource in HTTP error response.&lt;BR /&gt;is there any way to get this information ?&lt;BR /&gt;&lt;BR /&gt;we are using the VBO 'Microsoft Graph - SharePoint Upload Session'&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance.</description>
    <pubDate>Tue, 15 Nov 2022 16:14:13 GMT</pubDate>
    <dc:creator>ReemaKasliwal1</dc:creator>
    <dc:date>2022-11-15T16:14:13Z</dc:date>
    <item>
      <title>Getting user information with GRAPH API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Getting-user-information-with-GRAPH-API/m-p/96664#M44857</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;We have recently shifted to OAuth for SharePoint file upload and download and doing it via GRAPH APIs&lt;BR /&gt;I am trying to upload&amp;nbsp; a file to share point folder and if the file is locked/opened by some other user , it gets error message "resource locked", as shown below.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Error Message: {"error":{"code":"notAllowed","innerError":{"code":"resourceLocked"},"message":"The resource you are attempting to access is locked"}}&lt;/EM&gt; &lt;BR /&gt;&lt;BR /&gt;however it does not return which user has locked the file/resource in HTTP error response.&lt;BR /&gt;is there any way to get this information ?&lt;BR /&gt;&lt;BR /&gt;we are using the VBO 'Microsoft Graph - SharePoint Upload Session'&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance.</description>
      <pubDate>Tue, 15 Nov 2022 16:14:13 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Getting-user-information-with-GRAPH-API/m-p/96664#M44857</guid>
      <dc:creator>ReemaKasliwal1</dc:creator>
      <dc:date>2022-11-15T16:14:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting user information with GRAPH API</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Getting-user-information-with-GRAPH-API/m-p/96665#M44858</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/17240"&gt;@ReemaKasliwal1&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;There's no action for this in the current Graph connectors on the DX, but as I understand it this capability does exist within the Graph API. From what I've read, you can use the OData capabilities of Graph to get a list of the activities that have been performed on a file. If the file is locked, that will include information about who locked it and when. See the following Stack Overflow thread for more details:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://stackoverflow.com/questions/51606008/ms-graph-rest-api-checkout-user" target="_blank" rel="noopener"&gt;https://stackoverflow.com/questions/51606008/ms-graph-rest-api-checkout-user&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Eric​​</description>
      <pubDate>Tue, 15 Nov 2022 19:58:03 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Getting-user-information-with-GRAPH-API/m-p/96665#M44858</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2022-11-15T19:58:03Z</dc:date>
    </item>
  </channel>
</rss>

