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

Announcements

No record found.

News and Announcements icon
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,301
 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 577 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 309

#3
Diego Mancassola Profile Picture

Diego Mancassola 259

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans