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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

VS Code Launch.json Authentication "NavUserPassword" Not Accepted

(0) ShareShare
ReportReport
Posted on by 20

Hello, setting up a Launch.json for an Azure hosted VM, I am getting the below error when trying to set my authentication mode.

Secondly, I wanted to confirm if "NavUserPassword" is the mode I indeed want to use if my goal is to authenticate a RESTful web service call through a user microsoft account. i.e., my work email and microsoft password I use to login to Business Central.

0871.Capture.PNG

Thanks,

  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    If your NST is set to use NavUserPassword authentication, then use "authentication": "UserPassword" in your launch.json file.

    If you want to use your corporate account, authentication should be Windows.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 570 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 390 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 220 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans