Skip to main content
Microsoft Dynamics NAV forum
Suggested answer

Nav License Issue

editSubscribe (0) ShareShare
ReportReport
Posted on by 35

Can we count how many times users face license issue?

Session only shows the current users.

But we cannot count how many additional users are trying to open NAV and how many times they are facing license issue?

Is there any tools or method to monitor license issue?

  • Suggested answer
    Mehdi_MOALLA Profile Picture
    Mehdi_MOALLA 25 on at
    RE: Nav License Issue

    You can create a codeunit to count the actual number of connected session (based on the Active session table) and insert the result in a table like this one :

    Countofsessions.RESET;

    IF Countofsessions.FINDLAST THEN

      Seq:=Countofsessions."Line No"+1

     ELSE

      Seq :=1;

    Countofsessions.INIT;

    Countofsessions."Line No":=Seq;

    Countofsessions.Date:=TODAY;

    Countofsessions.Time:=TIME;

    Countofsessions.Number:=ActiveSession.COUNT;

    Countofsessions.INSERT;

    Then call this Codeunit in NAS to count each 5 minutes for example

    Finally you can create report or export data to Excel to make some graphs

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,068 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,591 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans