<?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: Database error - The caller was not authenticated by the service. in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45075#M1395</link>
    <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;1.
&lt;OL&gt;
&lt;LI&gt;In your remote test, are the two machines on the same domain or different domains? - yes , it is in the same domain.&lt;/LI&gt;
&lt;LI&gt;How did you set the credential value (the value of $credential)? Are you calling Get-Credential somewhere? -&amp;gt; yes like this I'm creating $credential by passing username and password&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $username="domain_name\username"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ ValidateNotNullOrEmpty()]$password="password"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$password = ConvertTo-SecureString $password -AsPlainText -Force&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[PSCredential]$credential = new-object -typename System.Management.Automation.PSCredential -argumentlist $username,$password&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;3. On the remote machine, are you logged in using same account that you were logged into the remote machine with? - yes , same account&lt;BR /&gt;&amp;nbsp; &amp;nbsp;4. The credential I'm using is in the AD also&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Brindha Thangamuthu&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
    <pubDate>Mon, 27 Dec 2021 15:23:00 GMT</pubDate>
    <dc:creator>BrindhaThangamu</dc:creator>
    <dc:date>2021-12-27T15:23:00Z</dc:date>
    <item>
      <title>Database error - The caller was not authenticated by the service.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45073#M1393</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to call one test process from powershell remotely which return the below error 'Database error - The caller was not authenticated by the service.'&lt;BR /&gt;If I login to the Blueprism server and call the process in powershell then it is working fine. I'm not able to remotely call the same process via invoke-method&lt;BR /&gt;The below run is direclty calling the process in powershell residing in the same server.&lt;BR /&gt;PS D:\Program Files\Blue Prism Limited\Blue Prism Automate&amp;gt; cd "D:\Program Files\Blue Prism Limited\Blue Prism Automate"; &lt;BR /&gt;.\automateC /sso /run test_process_1;&lt;BR /&gt;&lt;BR /&gt;Started process:test_process_1&lt;BR /&gt;Resource:test_computer_name&lt;BR /&gt;Actual resource:test_computer_name&lt;BR /&gt;Session:6baa1276-c2bb-4bc3-b51a-1d2f0ad7532a&lt;BR /&gt;&lt;BR /&gt;If I called the same&amp;nbsp; process remotely with the same credential, it returns below error&lt;BR /&gt;PS D:\AutomationBOTs\ServerBuild&amp;gt; Invoke-Command -ComputerName test_computer_name -Credential $credential -ScriptBlock {cd "D:\Program Files\Blue Prism Limited\Blue Prism Automate"; .\AutomateC.exe /sso /run test_process_1;}&lt;BR /&gt;&lt;BR /&gt;Database error - The caller was not authenticated by the service.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Brindha Thangamuthu&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2021 10:27:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45073#M1393</guid>
      <dc:creator>BrindhaThangamu</dc:creator>
      <dc:date>2021-12-27T10:27:00Z</dc:date>
    </item>
    <item>
      <title>RE: Database error - The caller was not authenticated by the service.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45074#M1394</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1536"&gt;@BrindhaThangamu&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I have a few questions regarding your test.&lt;BR /&gt;
&lt;OL&gt;
&lt;LI&gt;In your remote test, are the two machines on the same domain or different domains?&lt;/LI&gt;
&lt;LI&gt;How did you set the credential value (the value of $credential)? Are you calling Get-Credential somewhere?&lt;/LI&gt;
&lt;LI&gt;On the remote machine, are you logged in using same account that you were logged into the remote machine with?&lt;/LI&gt;
&lt;/OL&gt;
Cheers,&lt;BR /&gt;&amp;nbsp;&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, 27 Dec 2021 14:07:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45074#M1394</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-12-27T14:07:00Z</dc:date>
    </item>
    <item>
      <title>RE: Database error - The caller was not authenticated by the service.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45075#M1395</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;1.
&lt;OL&gt;
&lt;LI&gt;In your remote test, are the two machines on the same domain or different domains? - yes , it is in the same domain.&lt;/LI&gt;
&lt;LI&gt;How did you set the credential value (the value of $credential)? Are you calling Get-Credential somewhere? -&amp;gt; yes like this I'm creating $credential by passing username and password&amp;nbsp;&lt;/LI&gt;
&lt;/OL&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $username="domain_name\username"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ ValidateNotNullOrEmpty()]$password="password"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;$password = ConvertTo-SecureString $password -AsPlainText -Force&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[PSCredential]$credential = new-object -typename System.Management.Automation.PSCredential -argumentlist $username,$password&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp;3. On the remote machine, are you logged in using same account that you were logged into the remote machine with? - yes , same account&lt;BR /&gt;&amp;nbsp; &amp;nbsp;4. The credential I'm using is in the AD also&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Brindha Thangamuthu&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Dec 2021 15:23:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45075#M1395</guid>
      <dc:creator>BrindhaThangamu</dc:creator>
      <dc:date>2021-12-27T15:23:00Z</dc:date>
    </item>
    <item>
      <title>RE: Database error - The caller was not authenticated by the service.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45076#M1396</link>
      <description>Hi &lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/1536"&gt;@BrindhaThangamu&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Based on the error it seems Powershell is not the issue as that appears to be a Blue Prism error message. How are you starting the runtime resource (i.e. the remote machine)? Are you using Login Agent or something else? What account is being used to log into that machine? Is it the same domain account that you're passing in&amp;nbsp; $credential?&lt;BR /&gt;&lt;BR /&gt;I came across this &lt;A href="https://portal.blueprism.com/customer-support/support-center#/path/Installation-Platform/Security/Active-Directory/1344335322/How-do-I-fix-error-Caller-was-not-authenticated-by-the-service-on-a-SSO-environment.htm" target="_blank" rel="noopener"&gt;article&lt;/A&gt; on the support site that may be of interest.​&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, 28 Dec 2021 12:48:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45076#M1396</guid>
      <dc:creator>ewilson</dc:creator>
      <dc:date>2021-12-28T12:48:00Z</dc:date>
    </item>
    <item>
      <title>RE: Database error - The caller was not authenticated by the service.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45077#M1397</link>
      <description>Hey Brinda,&lt;BR /&gt;&lt;BR /&gt;I think you need to integrate the PowerShell script into the batch file to execute the process and since you are using the same domain machines you can run a batch file from the controller machine and the script would run a process on the runner machine. Just make sure that you are using a login agent which would help you to login into any machine to run the process.&lt;BR /&gt;&lt;BR /&gt;Below is the batch file syntax.&lt;BR /&gt;&lt;BR /&gt;@ECHO OFF&lt;BR /&gt;PowerShell.exe -Command "&amp;amp; 'C:\Test_Folder\execute_test_process.ps1'"&lt;BR /&gt;PAUSE&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Achyutam Mehta&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Dec 2021 14:32:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45077#M1397</guid>
      <dc:creator>AchyutamMehta</dc:creator>
      <dc:date>2021-12-28T14:32:00Z</dc:date>
    </item>
    <item>
      <title>RE: Database error - The caller was not authenticated by the service.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45078#M1398</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;By running this command, I'm starting the runtime resource, .\Automate.exe /public /resourcepc. If I run this command from in the blueprism server , it will create a runtime resource. But if I run the command remotely, its neither not opening the runtime resource nor throwing any error. The blueprism server and remote server are in the same domain.&amp;nbsp;&lt;BR /&gt;&amp;nbsp;With cred1 I'm able to login to blueprism server and run the powershell commands successfully. With the same cred1, if I'm calling it via remotely, it throws the mentioned error.&lt;BR /&gt;Blueprism was set up for single authentication(only sso).&lt;BR /&gt;​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Brindha Thangamuthu&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Dec 2021 05:36:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45078#M1398</guid>
      <dc:creator>BrindhaThangamu</dc:creator>
      <dc:date>2021-12-29T05:36:00Z</dc:date>
    </item>
    <item>
      <title>RE: Database error - The caller was not authenticated by the service.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45079#M1399</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/27085"&gt;@AchyutamMehta&lt;/a&gt;, Thanks for your reply. I'll surely try this.​​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Brindha Thangamuthu&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Dec 2021 09:02:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45079#M1399</guid>
      <dc:creator>BrindhaThangamu</dc:creator>
      <dc:date>2021-12-29T09:02:00Z</dc:date>
    </item>
    <item>
      <title>RE: Database error - The caller was not authenticated by the service.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45080#M1400</link>
      <description>Thanks for helping me on this issue.&lt;BR /&gt;I found the solution. When I'm trying to call a process remotely in powershell, it has to take the credential that I'm using in invoke-command for calling the blueprism process.&lt;BR /&gt;Below is the command I was using to trigger the process.&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Invoke-Command -ComputerName&amp;nbsp; test_computer -Credential $credential -ScriptBlock {cd "D:\Program Files\Blue Prism Limited\Blue Prism Automate";.\Automate.exe /public /resourcepc; .\AutomateC.exe /sso /run test_process_1;}&lt;/LI&gt;
&lt;/UL&gt;
In the command, it was not taking the $credential to call the process as it is using SSO&lt;BR /&gt;In invoke-command I can specify the credssp authentication to use&amp;nbsp; $credential.&lt;BR /&gt;Below is the command for that.&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;Invoke-Command -ComputerName&amp;nbsp; test_computer -Credential $credential -Authentication Credssp -ScriptBlock {cd "D:\Program Files\Blue Prism Limited\Blue Prism Automate";.\Automate.exe /public /resourcepc; .\AutomateC.exe /sso /run test_process_1; }&lt;/LI&gt;
&lt;/UL&gt;
Which ran successfully and triggered the process.&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Brindha Thangamuthu&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Dec 2021 09:14:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45080#M1400</guid>
      <dc:creator>BrindhaThangamu</dc:creator>
      <dc:date>2021-12-29T09:14:00Z</dc:date>
    </item>
    <item>
      <title>RE: Database error - The caller was not authenticated by the service.</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45081#M1401</link>
      <description>&lt;a href="https://community.blueprism.com/t5/user/viewprofilepage/user-id/833"&gt;@ewilson&lt;/a&gt;, Thanks Eric, I read the article ​&lt;BR /&gt;&lt;BR /&gt;------------------------------&lt;BR /&gt;Brindha Thangamuthu&lt;BR /&gt;------------------------------&lt;BR /&gt;</description>
      <pubDate>Wed, 29 Dec 2021 09:16:00 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Database-error-The-caller-was-not-authenticated-by-the-service/m-p/45081#M1401</guid>
      <dc:creator>BrindhaThangamu</dc:creator>
      <dc:date>2021-12-29T09:16:00Z</dc:date>
    </item>
  </channel>
</rss>

