Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

Skip Login from AL code.

(0) ShareShare
ReportReport
Posted on by 21,081 Super User 2024 Season 1

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

  • Suggested answer
    Amit_Sharma Profile Picture
    Amit_Sharma 2,545 on at
  • Suggested answer
    Inkey Solutions Profile Picture
    Inkey Solutions 1,795 on at
    RE: Skip Login from AL code.

    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
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Skip Login from AL code.

    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
    Nitin Verma Profile Picture
    Nitin Verma 21,081 Super User 2024 Season 1 on at
    RE: Skip Login from AL code.

    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
    Marco Mels on at
    RE: Skip Login from AL code.

    Hello,

    Let us know if it did help somehow.

    Thanks.

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,081 Super User 2024 Season 1 on at
    RE: Skip Login from AL code.

    Ok Let me check the both options.

  • Suggested answer
    Marco Mels Profile Picture
    Marco Mels on at
    RE: Skip Login from AL code.

    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.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,661 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,379 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans