PowerShell script code not persisting in new Logic Apps designer

Aperta
#9,717 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
52/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
azure, react, typescript
Ambito
cloud, frontend

Direzione di ricerca

Start by locating the new Logic Apps Standard designer’s Execute PowerShell script code action and compare its save behavior with the classic designer. Trace how inline script content is persisted to the workflow directory, then reproduce the issue by publishing and reloading a workflow. Done means the .ps1 file is created or updated and the inline code remains after reloading.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Severity

P3 - Medium (Minor functionality affected)

Describe the Bug with repro steps

Expected behaviour

When adding/editing an Execute PowerShell Code action using the new Logic Apps Standard designer, the associated PowerShell script file should be created/updated in the workflow directory.

Actual behaviour

When adding an Execute PowerShell Code action using the new Logic Apps Standard designer, the workflow definition is saved successfully, but the associated PowerShell script file is not created in the workflow directory.

Manually creating a .ps1 file in the workflow directory using the Kudu UI and referencing its filename in the action allows code to be added and executed, but changes to the code using the inline code editor workflow action are not persisted.

Steps to reproduce

  1. Open an existing or new Logic Apps Standard workflow using the new designer
  2. Create an "Execute PowerShell script code" action or open an existing action of the same type
  3. Add code using the inline code editor
  4. Publish changes to the workflow

After reloading the designer page, changes to the inline PowerShell code have disappeared. Also, in Kudu, the .ps1 file is has not been created in the workflow folder.

Executing the workflow shows an error (example script file and workflow names used here):

The script file 'Testing.ps1' cannot be found. Please ensure that the file is located in the same location as the workflow 'Testing-
PowerShell'.

The same workflow and action work correctly when edited and saved using the classic designer. The .ps1 file is created as expected an the workflow runs without error.

What type of Logic App Is this happening in?

Standard (Portal)

Are you experiencing a regression?

Uncertain. I attempted this for the first time on 2026-11-17.

Which operating system are you using?

Windows

Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg

Yes

Workflow JSON

Screenshots or Videos

No response

Environment

OS: Windows 11 25H2 (OS Build 26200.9911)
Browser: Edge 157.0.4341.60

Additional context

No response

Lingua principale
TypeScript
Stelle
114
Fork
115
Merge medio
1g 3h
PR unite (30g)
40

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Azure/LogicAppsUX

Tutte le issue di Azure/LogicAppsUX

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.