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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

how to Create an LCS connection in Azure Pipelines

(0) ShareShare
ReportReport
Posted on by 40

Can anyone please help to create LCS connection in Azure Pipelines.

I went through this link https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-tools/pipeline-lcs-connection

but getting error while running builds.

ERROR:

##[error]Exception calling "AcquireToken" with "3" argument(s): "unknown_user_type: Unknown User Type
I have the same question (0)
  • WillWU Profile Picture
    22,361 on at
    RE: how to Create an LCS connection in Azure Pipelines

    Hi DynamicsLCS,

    Please make sure the Application (Client) ID is created as "native".

  • DynamicsLCS Profile Picture
    40 on at
    RE: how to Create an LCS connection in Azure Pipelines

    Hi Will,

    Can you please tell, how to achieve it, I am not sure to create ID as native.

    Thanks!

  • Verified answer
    WillWU Profile Picture
    22,361 on at
    RE: how to Create an LCS connection in Azure Pipelines

    Hi  DynamicsLCS,

    Please check:

    pastedimage1619773784623v1.png

  • DynamicsLCS Profile Picture
    40 on at
    RE: how to Create an LCS connection in Azure Pipelines

    Thanks, it worked :)

    I will proceed further.

    Thanks,

    Shubham

  • Verified answer
    WillWU Profile Picture
    22,361 on at
    RE: how to Create an LCS connection in Azure Pipelines

    Hi DynamicsLCS,

    Glad to hear that, please verify the useful answer to close the thread.

  • Rich Profile Picture
    320 on at
    RE: how to Create an LCS connection in Azure Pipelines

    I've seen this error in release pipelines - with the public/native setting Will mentions in place - but having forgotten to check the Agent configuration Additional options > Allow script to access the OAuth token checkbox.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 1,933

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 793 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 537 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans