Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

AADSTS50076 - Using LCS Connector with MFA Enabled in Azure DevOps Pipelines

(1) ShareShare
ReportReport
Posted on by 52
Hello everyone,

we have been using Azure DevOps pipelines for some time to automatically supply our D365FO customers with updates.
However, it seems that Microsoft has now enforced MFA for all our user accounts in the tenant, and there appears to be no option to disable this.
As a result, all our releases that attempt to access LCS using the Dynamics Lifecycle Services Connector are failing.
Unfortunately, there seems to be no solution available online for this issue yet.
Does anyone have an idea on how to continue using the LCS Connector with MFA enabled?
  • Verified answer
    Anthony Blake Profile Picture
    Anthony Blake 2,212 Super User 2024 Season 2 on at
    AADSTS50076 - Using LCS Connector with MFA Enabled in Azure DevOps Pipelines
    Its not supported, and I'm seeing the same question asked by multiple end users at the moment.
     
    The official line is to create a dedicated account with minimum permissions, and put it in an MFA exclusions group.
     
     

    Note

    Dynamics Lifecycle Services doesn't support service-to-service authentication. Therefore, only regular user credentials (that is, a user name and password) can be used. Because the pipelines don't run interactively, multifactor authentication must not be set up for the account that you use. We recommend that you set up a separate user account that has limited access and strong credentials that can regularly be rotated for security purposes.

     

  • Jakob Becker Profile Picture
    Jakob Becker 52 on at
    AADSTS50076 - Using LCS Connector with MFA Enabled in Azure DevOps Pipelines
    Unfortunately, Mohamed's response is not helpful at all.
    The blog post is the first thing that comes up when searching online for the problem.
    The solution mentioned in the blog post suggests using a different account or disabling MFA for the account.
    As I already mentioned in my initial question, that is not an option for us.
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    Mohamed Amine Mahmoudi 9,818 Super User 2024 Season 2 on at
    AADSTS50076 - Using LCS Connector with MFA Enabled in Azure DevOps Pipelines
    Hi,
     
    hope the following helps
    Best regards,
    Mohamed Amine Mahmoudi

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans