SOAP users keeps connected in NAV

FlemmingBFlemmingB Member Posts: 4
We have a customer who are using "Continia approval web portal" that is connecting to Nav by SOAP. But the issue is that user is still connected in NAV for up til 2 hours after the SOAP call, and taking up a license. - Is there any way to adjust this behaviour by a setting or Powershell Script etc.

Answers

  • CharlesZACharlesZA Member Posts: 10
    Hello,

    This is actually part of the product licensing. You may be able to reduce the time by setting limited user types which will timeout after 15 minutes, but I don't know if that will help you.

    Please see below:

    Licensing User Access under Perpetual Licensing


    Under Perpetual Licensing, you license Full access to the solution with Full Concurrent CALs and Limited access to the solution with Limited Concurrent CALs. When assigning security rights to users, the system administrator will designate each user as a full user or a limited user. Microsoft Dynamics NAV 2017 contains two concurrency “counters”— one for Full Users and another one for Limited Users—to help you make sure that the number of users concurrently logged into the solution does not exceed your licensed number of Full and Limited Concurrent CALs. When a user attempts to log in, they will automatically be routed through the appropriate counter based on their assigned user type. If the maximum number of licensed concurrent users has already been reached, the user will not be able to log in until someone logs out.

    Note: When a Full User accesses a session using web services, the session is “locked” to that user for a minimum of two hours, after which time, if the user has logged out, the session becomes available to other users. For Limited Users, the session is tied to that user for a minimum of 15 minutes. The user may release the locked session at any time by logging into the solution through any of the Microsoft Dynamics NAV clients and logging out. At that time, the application will release all sessions tied to that user. Please note that users accessing the application indirectly, such as through a third party application, require to be licensed with and consume the appropriate CAL type, even if those users are not directly logging into the ERP solution. The responsibility for ensuring proper concurrency usage falls to the third party application provider.
    Life runs on code;
  • thomasbarbutthomasbarbut Member Posts: 25
    Hello,

    the SOAP Client has to terminate the connection. It's a coding problem from the Third Party application.
    If the Third Party application can't be changed you could write a Codeunit which finds SOAP connections which are connected more than 10 minutes and terminates them. This Codeunit scheduled with Job Scheduler or Task Scheduler depending on what version of Dynamics NAV you are using.

    best regards,
    Thomas Barbut
  • bobgally9bobgally9 Member Posts: 15
    Actually when using Continia Web Approval Portal and user logsout it will release that user based on their website .http://continia.com/continia-web-approval-portal-(1).aspx , If not please contact their support i guess. "Please note that when a user logs on to Continia Web Approval Portal he takes up one Microsoft Dynamics NAV Limited User as a minimum. When the user logs out, the Microsoft user license will be released for an alternative approver."
    Hope this Helps

    Thanks
    Mouli K
    www.moulikaku.com
Sign In or Register to comment.