<?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 Login agent service started and then stopped in Product Forum</title>
    <link>https://community.blueprism.com/t5/Product-Forum/Login-agent-service-started-and-then-stopped/m-p/100433#M47712</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have created new Blue Prism test and production environments (Test2 &amp;amp; Prod2) for new group of processes and completed all necessary configurations both in test2 and prod2. Example: DB configuration, server configuration and all other Blue Prism configurations are completed along with new runtime resource and login agent configurations.&lt;/P&gt;
&lt;P&gt;However, when we tried to start login agent services in prod2 environment we get an error message "The Blue prism login agent service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs". Whereas this works fine in the test2 environment.&lt;/P&gt;
&lt;P&gt;Not sure what we are missing here. Please find more information on setup and what we have tried as part of solution steps.&lt;/P&gt;
&lt;P&gt;Additional Information:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Environments configured with Multi-authentication and enabled SSO.&lt;/LI&gt;
&lt;LI&gt;Login agent service configured to run with service account.&lt;/LI&gt;
&lt;LI&gt;The service account is part of local client group (Logon as service).&lt;/LI&gt;
&lt;LI&gt;Setup works fine on existing/old test, prod environments and also on test2 environment which is copy of the new prod2 environment.&lt;/LI&gt;
&lt;LI&gt;We have added 'sso' argument and prod2 BP connection name (dbconname) in 'LoginAgentServices.config file'.&lt;/LI&gt;
&lt;LI&gt;The service account that try to run login agent services has user access level as 'runtime resource' in Blue Prism user roles.&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;We are able to run SAS services with the same service account.&lt;/LI&gt;
&lt;LI&gt;We couldn't see any logs on 'LoginAgentService' in event log viewer.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Any help would be appreciated.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Rajesh&lt;/P&gt;</description>
    <pubDate>Thu, 28 Oct 2021 12:23:45 GMT</pubDate>
    <dc:creator>RajeshSrirambha</dc:creator>
    <dc:date>2021-10-28T12:23:45Z</dc:date>
    <item>
      <title>Login agent service started and then stopped</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-agent-service-started-and-then-stopped/m-p/100433#M47712</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;We have created new Blue Prism test and production environments (Test2 &amp;amp; Prod2) for new group of processes and completed all necessary configurations both in test2 and prod2. Example: DB configuration, server configuration and all other Blue Prism configurations are completed along with new runtime resource and login agent configurations.&lt;/P&gt;
&lt;P&gt;However, when we tried to start login agent services in prod2 environment we get an error message "The Blue prism login agent service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs". Whereas this works fine in the test2 environment.&lt;/P&gt;
&lt;P&gt;Not sure what we are missing here. Please find more information on setup and what we have tried as part of solution steps.&lt;/P&gt;
&lt;P&gt;Additional Information:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Environments configured with Multi-authentication and enabled SSO.&lt;/LI&gt;
&lt;LI&gt;Login agent service configured to run with service account.&lt;/LI&gt;
&lt;LI&gt;The service account is part of local client group (Logon as service).&lt;/LI&gt;
&lt;LI&gt;Setup works fine on existing/old test, prod environments and also on test2 environment which is copy of the new prod2 environment.&lt;/LI&gt;
&lt;LI&gt;We have added 'sso' argument and prod2 BP connection name (dbconname) in 'LoginAgentServices.config file'.&lt;/LI&gt;
&lt;LI&gt;The service account that try to run login agent services has user access level as 'runtime resource' in Blue Prism user roles.&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;We are able to run SAS services with the same service account.&lt;/LI&gt;
&lt;LI&gt;We couldn't see any logs on 'LoginAgentService' in event log viewer.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;Any help would be appreciated.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Rajesh&lt;/P&gt;</description>
      <pubDate>Thu, 28 Oct 2021 12:23:45 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-agent-service-started-and-then-stopped/m-p/100433#M47712</guid>
      <dc:creator>RajeshSrirambha</dc:creator>
      <dc:date>2021-10-28T12:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Login agent service started and then stopped</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-agent-service-started-and-then-stopped/m-p/100434#M47713</link>
      <description>Hi Rajesh,&lt;BR /&gt;&lt;BR /&gt;are you using the same version of login agent as that of your Blueprism Application?&lt;BR /&gt;check the Loginagent config file in Programdata for the session working directory path it might be pointing to the Programfiles x86 path&lt;BR /&gt;&lt;BR /&gt;config file can be found in location "C:\ProgramData\Blue Prism Limited\Automate V3\LoginAgentService.config"&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;
&lt;PRE class="language-markup"&gt;&lt;CODE&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;
&amp;lt;configuration&amp;gt;
&amp;lt;workingdirectory path="c:\Program Files\Blue Prism Limited\Blue Prism Automate\"/&amp;gt;
&amp;lt;startuparguments&amp;gt;
&amp;lt;argument name="resourcepc"/&amp;gt;
&amp;lt;argument name="public"/&amp;gt;
&amp;lt;argument name="port"&amp;gt;
&amp;lt;value&amp;gt;8181&amp;lt;/value&amp;gt;
&amp;lt;/argument&amp;gt;
&amp;lt;/startuparguments&amp;gt;
&amp;lt;/configuration&amp;gt;​&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 28 Oct 2021 13:12:45 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-agent-service-started-and-then-stopped/m-p/100434#M47713</guid>
      <dc:creator>JerinJose</dc:creator>
      <dc:date>2021-10-28T13:12:45Z</dc:date>
    </item>
    <item>
      <title>Re: Login agent service started and then stopped</title>
      <link>https://community.blueprism.com/t5/Product-Forum/Login-agent-service-started-and-then-stopped/m-p/100435#M47714</link>
      <description>@Jerin Jose - Hi Jose, Sorry I have clicked on 'Inappropriate answer' accidentally. But please find my reply​ to your answer.&lt;BR /&gt;&lt;BR /&gt;
&lt;P&gt;We are using the same version of login agent as that of our Blue Prism Application. (We have installed login agent which is available in 'Installers' folder under Blue Prism Automate)&lt;/P&gt;
&lt;P&gt;The 'Workingdirectory path'&amp;nbsp;&amp;nbsp;in the LoginAgentService.config file in Programdata is pointing to the right program files directory: "&amp;lt;C:\Program Files\Blue Prism Limited\Blue Prism Automate\&amp;gt;".&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Rajesh&lt;/P&gt;</description>
      <pubDate>Fri, 29 Oct 2021 12:00:47 GMT</pubDate>
      <guid>https://community.blueprism.com/t5/Product-Forum/Login-agent-service-started-and-then-stopped/m-p/100435#M47714</guid>
      <dc:creator>RajeshSrirambha</dc:creator>
      <dc:date>2021-10-29T12:00:47Z</dc:date>
    </item>
  </channel>
</rss>

