web
You’re offline. This is a read only version of the page.
close
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

Release pipeline failed after clone

(0) ShareShare
ReportReport
Posted on by 3,262
 

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
    827 on at
    Hi,
     
    You can check LCS connection.  Check if the new pipeline have same LCS connection.
  • Jan M. Profile Picture
    3,262 on at
    LCS connection is fine, as the update task to LCS works well.
  • Verified answer
    Jan M. Profile Picture
    3,262 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

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
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans