Announcements
Hi, How can I get Application ID of my current running app in business central ?I have used Session.ApplicationIdentifier() but it gives 'NAV' as result not the appId which is like 63ca2fa4-4f03-4f2b-a980-172fef340d1w this. Can anyone help ?
try using Navapp.GetCurrentModuleInfo();
https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/navapp/navapp-getcurrentmoduleinfo-method
NavApp.GetCurrentModuleInfo is what you need. It returns a ModuleInfo object that represents information about an application consumable from AL.
From this object you can retrieve the ID by using YourModuleInfo.Id();
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.
Jump in, show your community spirit, and win prizes!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,691 Super User 2026 Season 1
Grigorios Mavrogeorgis 1,095 Super User 2026 Season 1
YUN ZHU 1,069 Super User 2026 Season 1