web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

User has Web Service Session in addition to Windows Client session

(0) ShareShare
ReportReport
Posted on by 5

We run Dynamics NAV using the Windows Client. We have one user where whenever he logs on, it opens both a Windows Client session as well as a Web Service session.This ends up taking the slot of an additional Full User licesne and is creating problems as sometimes other full users can't get on because all of the slots are taken up. This user has done some work between NAV and PowerBI and has added a few entries to the Web Services list. Is this what is causing the additional session to be added when he logs on?

I have the same question (0)
  • Sathish G Profile Picture
    70 on at

    Hi,

    if you connect Power Bi, yes It takes web service session.

    Regards,

    Sathish

    If you managed to resolve your issue, please mark all helpful answers as Verified - this would indicate to similar forum members that your issue has been solved

  • Suggested answer
    Binesh Profile Picture
    7,885 on at

    Hello,

    Did you check the active session table in SQL?

    If not please check and try to truncate the “Active Session” table of the current database from "SQL management studio".

    See the below details might be helpful for you, NAV 2013 R2 and later - Session vs License count

    Client types that do not consume licenses

    A few client types do not consume licenses (anymore). For instance the service account starting a NST does not consume a license for it's own session. Neither for NAS services, even if the NAS is executing jobs from the jobqueue. Background processes do not consume licenses too. You get the idea.

    Client types that do consume licenses

    A few client types do consume licenses. For instance the Windows RTC, Web RTC, Tablet client, SOAP/ODATA calls, etc. A license will be consumed if an unique user makes a connection with NAV with one of the above client types. If this user on the other hand makes another connection with NAV with the same or an other client type, this won't consume another license. NAV counts unique users.

    Example

    For example if one user starts an session with a windows RTC client from a desktop machine, a session from his tablet with the app and start a job manually (creates a background process) the user will still consume 1 license.

    What i do not understand from your post is that you say that you see less sessions in the active session overview than licenses available in the license and that you've issues with it... that is something I haven't seen before.

    Query to view current consumed licenses

    With the following query you can view the current consumed licenses. I'm not sure if it's waterproof, I just wrote it and did not test it. Feedback is welcome.

    /*

    Current consumed licenses NAV 2016

    Client Types:

    0 = Windows RTC

    1 = Sharepoint Client

    2 = Webservices (SOAP & ODATA)

    3 = Client Service

    4 = NAV application service (NAS)

    5 = Background

    6 = Management Client

    7 = Web RTC

    8 = Unknown

    9 = Tablet RTC

    10 = Desktop RTC

    */

    SELECT COUNT(DISTINCT [User ID]) AS 'Current consumed licenses'

    FROM [dbo].[Active Session]

    WHERE [Client Type] IN (0,1,2,7,9,10)

  • LC10 Profile Picture
    5 on at

    Hello Binesh,

    Thank you for your input. The issue is that we have a specific account we use for PowerBI, and the user uses that account when he accesses PowerBI, and the PowerBI account shows up on the session list as a web services session. However, when the user is also signed on to NAV, his user account shows up as both a Windows Client session and a PowerBI session. I have not seen this happen for any other user.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,362

#2
YUN ZHU Profile Picture

YUN ZHU 867 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans