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

Notifications

Announcements

No record found.

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,

I have the same question (0)
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,166 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans