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

Community site session details

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

Upload to LCS asset library from Azure DevOps Pipeline is failing

(1) ShareShare
ReportReport
Posted on by 172
Hi guys,
 
Hope all is well.
 
Since 2 days ago our automated uploads to the LCS asset library are failing with a very strange error message.
2024-09-10T19:08:22.6437168Z ##[error]PowerShell exited with code '1'.
I cannot find any other relevant information than this.
Any ideas what i can check in order to understand what is actually the problem >
I have the same question (0)
  • Jonas "Jones" Melgaard Profile Picture
    4,891 Super User 2025 Season 2 on at
    Upload to LCS asset library from Azure DevOps Pipeline is failing
    No problem, glad to hear you got it working 😊
  • Verified answer
    SM-17050844-0 Profile Picture
    172 on at
    Upload to LCS asset library from Azure DevOps Pipeline is failing
    Apf i fixed it.
    So one part of this is that you need to trigger new release not retry the failed one.
    but the most important part is the token variable.
    I can only assume that was generated as a "personnel token" and after the termination naturally this was not valid anymore.
    So i had to create new and trigger new relese.
     
    Thanks for the hints Jonas !
    I can only say that you confirm what i was thinking of which was great !
  • SM-17050844-0 Profile Picture
    172 on at
    Upload to LCS asset library from Azure DevOps Pipeline is failing
    I think we got it.
    Now the question how the hell we are fixing it :D 
     
     According to Microsoft Entra, your Identity (THIS IS THE USER IDENTITY) is currently Disabled within the 
    2024-09-11T06:21:52.0712479Z following Microsoft Entra tenant: MS ENTRA ID. Please contact your Microsoft Entra 
    2024-09-11T06:21:52.0712717Z administrator to resolve this.
     
  • Jonas "Jones" Melgaard Profile Picture
    4,891 Super User 2025 Season 2 on at
    Upload to LCS asset library from Azure DevOps Pipeline is failing
    Oh yeah, been there done that. Users leaving is especially fun in Power Platform 😆
     
    Owners as you mentioned, then the connection user. It should not impact existing releases.
    Not related to release pipelines, also check the SAS key used in LCS.
  • SM-17050844-0 Profile Picture
    172 on at
    Upload to LCS asset library from Azure DevOps Pipeline is failing
    Hi Joinas,
     
    I am thinking of "user related issue" as well.
    Our colleague that was managing the DevOps for us left and the issue started immediately afterwards :D 
    This is the only error that i see.
    All the warning messages we had in the previous releases so i have a feeling we can ingore them.

     
    I have checked the "owner" of the different stages in the pipeline, but i wonder if such a change is impacting existing release or a need to create new one ?
     
    2024-09-11T06:08:19.2521183Z     + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
    2024-09-11T06:08:19.4309026Z ##[error]PowerShell exited with code '1'.
    2024-09-11T06:08:19.4824116Z ##[section]Finishing: LCS Asset Id


    Any idea where else we may need to apply changes 
     
    Thank you in advance.
  • Jonas "Jones" Melgaard Profile Picture
    4,891 Super User 2025 Season 2 on at
    Upload to LCS asset library from Azure DevOps Pipeline is failing
    Do you have any info or warning messages?

    The first thing I would check is to see if the user that's used for the service connection can still log in (E.g. expired password etc.).

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 846

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 797 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans