Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Build pipeline failed from DevOps to LCS because required permission

(0) ShareShare
ReportReport
Posted on by 112

Hi,

We deploy our D365FO package through DevOps release pipeline. Normally, it works well. But from one day, I found deployed failed log in upload zip file to Asset library step.

The error message as below:
2021-08-31T09:47:39.1488676Z ##[error]Error creating new file asset: 'You don't have the required permissions to perform this operation.'

Have anyone can told me how could I do in this situation?

What's setup I should check it?

Thanks.

2021_2D00_09_2D00_02_5F00_172901.jpg

  • Suggested answer
    Ahmad_Sufyan Profile Picture
    Ahmad_Sufyan on at
    RE: Build pipeline failed from DevOps to LCS because required permission

    learn.microsoft.com/.../pipeline-lcs-connection

    pastedimage1681386802227v1.png

    There are also a partner recommendation steps provide here

    Azure DevOps tasks for Microsoft Dynamics 365 for Finance and Operations – Part 2 - axperience

     Could you please redo the configuration steps as instructed above

  • SC-19081230-0 Profile Picture
    SC-19081230-0 3 on at
    RE: Build pipeline failed from DevOps to LCS because required permission

    Where do you see that?

  • Suggested answer
    Ahmad_Sufyan Profile Picture
    Ahmad_Sufyan on at
    RE: Build pipeline failed from DevOps to LCS because required permission

    Azure Devops completely.

    Before that validate if Azure DevOps service connection is pointing right LCS url or not

  • SC-19081230-0 Profile Picture
    SC-19081230-0 3 on at
    RE: Build pipeline failed from DevOps to LCS because required permission

    Thanks, but what should be re-configured?

  • Suggested answer
    Ahmad_Sufyan Profile Picture
    Ahmad_Sufyan on at
    RE: Build pipeline failed from DevOps to LCS because required permission

    Reconfigure and see if that resolves the issue.

  • SC-19081230-0 Profile Picture
    SC-19081230-0 3 on at
    RE: Build pipeline failed from DevOps to LCS because required permission

    We have the same problem. Any solution for this?

  • JoBox Profile Picture
    JoBox 112 on at
    RE: Build pipeline failed from DevOps to LCS because required permission

    Hi Ahmad_Sufyan,

    Thanks for your sharing, I have checked some setups by your information. 

    This is my application, is it possible something expired to affect it?
    It seems like We can't deploy around after July, but it can run well in May.

    2021_2D00_09_2D00_03_5F00_1.jpg

    For API permissions, it shows green status as below so that I have no idea why have no permission to upload file to Asset Library.

    2021_2D00_09_2D00_03_5F00_2.jpg

    Thanks.

  • Suggested answer
    Ahmad_Sufyan Profile Picture
    Ahmad_Sufyan on at
    RE: Build pipeline failed from DevOps to LCS because required permission

    Validate if you have done right setup.

    pastedimage1630580259424v1.png

    Create an LCS connection in Azure Pipelines - Finance & Operations | Dynamics 365 | Microsoft Docs

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,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans