Active Sessions in Business central and kill session
Here I want to show how to check active sessions in Business central. If the business central is on the cloud, then login to the admin center, open the environment. If the business central is on-prem, then the below power shell script can be used. View the sessions: Get-NAVServerSession -SeverInstance <Name> -Tenant <Tenant-id> Kill the session: Remove-NAVServerSession -ServerInstance <Name> -Tenant default -SessionId <Session Id> The other way to view the sessions by creating a simple extension. This can be used in both on-cloud and on-prem version of business central. Below is the code to create a page. page 60102 "Active Sessions" { PageType = List ; ApplicationArea = All; UsageCategory = Administration; SourceTable = "Active Session"; Editable = false; ...