Skip to main content

Notifications

Announcements

No record found.

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
  • Rich Profile Picture
    275 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.

  • Verified answer
    WillWU Profile Picture
    22,352 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.

  • 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,352 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

    Hi Will,

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

    Thanks!

  • WillWU Profile Picture
    22,352 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".

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,202 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,923 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans