Announcements
No record found.
I get this exception:
Exception of type 'Microsoft.Dynamics.Nav.Types.Exceptions.NavNCLDialogException' was thrown. Stack trace: "Conf./Personalization Mgt." (CodeUnit 9170).CopyProfileWithUserInput line 5 - Base Application version 27.1.41698.42312
It seems the method CopyProfileWithUserInput internally tries to open a dialog or confirmation page — which cannot run in background or non-UI contexts → resulting in NavNCLDialogException.
NavNCLDialogException
Has anyone successfully used this method from AL code without triggering a dialog? Is there an alternative to copy a profile silently, without UI interaction? (For example: using CopyProfile()
Any insights would be greatly appreciated!
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.
Congratulations to our 2026 Super Stars!
Thanks to all of our 2025 Community Spotlight stars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
OussamaSabbouh 1,926 Super User 2026 Season 1
YUN ZHU 1,158 Super User 2026 Season 1
Khushbu Rajvi. 533 Super User 2026 Season 1