PowerShell script code not persisting in new Logic Apps designer

Đang mở
#9,717 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
52/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
azure, react, typescript
Lĩnh vực
cloud, frontend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
114
Fork
115
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
40

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/LogicAppsUX

Tất cả issue của Azure/LogicAppsUX

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.