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

Announcements

News and Announcements icon
Community site session details

Community site session details

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

Skip Login from AL code.

(0) ShareShare
ReportReport
Posted on by 21,812 Moderator

Hi,

I am fed up to enter the Authentication again and again whenever I am trying to publish with Debug or without debug the code from AL code. Not sure if any have an idea How we can get rid of the authentication screen not to ask every time I publish, or can we save our credential somewhere in setting so that I publish N number of times my AL code without putting the authentication.

pastedimage1669214506291v1.png

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    I do not think this is standard behavior. Could you please disable the MFA for this specific development account and see if the behavior changes. It could also be that there is a conditional access policy in Azure that requires authentication all the time (persistent browser I believe it is called).

    Thank you.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Ok Let me check the both options.

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Let us know if it did help somehow.

    Thanks.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hello Marco,

    Not sure about the conditional access if we can disallow Visual studio code from there, but yes I have asked my team to disable my MFA, let me get an update, will update you too as well.

    Thanks for your time.

  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello Nitin,

    Ofcourse only for a small period of testing the behavior and for one test account only. Microsoft recommends to enable MFA all the time. If there is a conditional access policy in place, then I would look for persistent browser session which is an option in the policy. I believe this causes the behavior of reauthentication.

  • Suggested answer
    Inkey Solutions Profile Picture
    2,122 on at

    Hi, Nitin Verma

    You can disable or enable MFA from the Azure Active Directory.

    Please follow below steps for the same

    >>Login at Home - Microsoft Azure, with your account.

    >>After login, type 'Azure Active Directory' on the search bar and open Azure Active Directory Page

    pastedimage1669633861859v1.png

    >> From the left side penal, choose Properties tab

    pastedimage1669634140810v2.png

    >>From the bottom of the page you can see link named as "Manage security Defaults", click on that link.

    pastedimage1669634239474v3.png

    >> From that window you can select 'No' to disable MFA

    pastedimage1669634394007v4.png

    Thank You.

  • Suggested answer
    Amit Profile Picture
    2,563 on at

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

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 575 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 430 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 334 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans