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

Notifications

Announcements

Community site session details

Community site session details

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

Release pipeline failed after clone

(1) ShareShare
ReportReport
Posted on by 3,274
 

Hi

After cloning a release pipeline there is a permission issue. The pipeline uploads the package to LCS and sets LCSAssetId for deployment a the second stage. Upload works fine.

On task Set LCSAssetId there is the error: Access denied: User xx does not have manage releases permission. This happens on the invoke method: $updatedef = Invoke-RestMethod -Uri $url -Method Put -Body $json -ContentType "application/json" -Headers @{Authorization = "Bearer $env:SYSTEM_ACCESSTOKEN”}.

Change pipeline permission to Allow (from Allow inherit) of edit/mange release, but doesn't help. Any idea where the permission must be set? Should clone not just copy all?
 
Thanks for help.
Categories:
I have the same question (0)
  • Suggested answer
    Sagar121 Profile Picture
    995 on at
    Hi,
     
    You can check LCS connection.  Check if the new pipeline have same LCS connection.
  • Jan M. Profile Picture
    3,274 on at
    LCS connection is fine, as the update task to LCS works well.
  • Verified answer
    Jan M. Profile Picture
    3,274 on at
    Solution: Release Pipeline Security - Project Collection Build Service - Mange releases > Allow
    This permission was not copied by cloning.

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

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 843 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 357 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans