Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / Build pipeline failed ...
Finance forum
Suggested answer

Build pipeline failed from DevOps to LCS because required permission

Posted on by 58

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 232 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 232 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 232 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 58 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

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,252 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,089 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans