Azure / LogicAppsUX

https://learn.microsoft.com/azure/logic-apps
MIT License
77 stars 83 forks source link

Logic App Standard Deployment Issue to Government Cloud - Cannot read properties of undefined (reading 'kind') #6039

Open StephenWThomas opened 2 days ago

StephenWThomas commented 2 days ago

Describe the Bug with repro steps

Deploying a Standard Logic App using VS Code does not work as expected when using the Azure Government Cloud.

Other items, like Azure Resources, work as expected using the Azure Government Cloud to view and create Azure Artifacts.

Changing the account to a non-government cloud results in a successful deployment.

This was tested on two new VS Code environments running Windows 10 and 11 with the same results.

  1. Sign into Azure Government Cloud inside VS Code
  2. Create a Standard Edition Logic App
  3. Navigate to Azure - Workspaces on the left toolbar
  4. Select the Logic App icon - Deploy to logic app…
  5. One of two errors is seen.

What type of Logic App Is this happening in?

Standard (VSCode)

Which operating system are you using?

Windows

Are you using new designer or old designer

New Designer

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

No

Workflow JSON

No response

Screenshots or Videos

No response

Browser

Latest version of VS Code

Additional context

No response

ccastrotrejo commented 1 day ago

Hi @StephenWThomas thanks for raising this issue.

I am taking a look at it right now. About the two issue

  1. Usually this happens when something is wrong with the remote logic app that its already in porta. Did you created this one in the portal or through the vscode?
  2. This issue got resolved in the following PR https://github.com/Azure/LogicAppsUX/pull/6014. This shouldn't affect the functionality of the extension, except for the Azure panel on the left toolbar. If you experience that your remote Logic Apps aren't loading properly, you should be able to see them correctly by clicking on the refresh icon on the top of the panel

Image