Azure / LogicAppsUX

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

VS Code_Office_Not able to Debug. #2503

Closed v-prakumar closed 1 year ago

v-prakumar commented 1 year ago

Describe the Bug with repro steps

  1. Create a Stateful workflow in VS Code.
  2. Open Designer and add http trigger.
  3. Add office_Send an email, create the connection and add all the details.
  4. Add compose action and add fx parameters'responseString'.
  5. Add paramerters.json file in explore pane and add : { "responseString": { "type": "string", "value": "helloone" }, "office365RuntimeUrl": { "type": "string", "value": "" } } 6.Save it and replace the connection value in parameters.json from connection.json.

Expected: For office while creating the connection, In connection.json connection runtime URL should be generated.

Actual: Connection runtime url is not generating. (@parameters"office365ConnectionRuntimeUrl") ![Uploading image.png…]()

What type of Logic App Is this happening in?

Standard (VSCode)

Are you using Preview Designer or GA Designer

Preview

Screenshots or Videos

No response

Browser

VS Code

Additional context

VS Code Artifacts:

VS Code extension: ​vsix icon vscode-azurelogicapps-2.18.0.vsix NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzczNTE1ODYzL2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.23.1.nupkg Extension Bundle (CDN URL): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting

Extension Bundle: https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows/1.23.1/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.23.1_any-any.zip

v-prakumar commented 1 year ago

Connection.json:

{ "managedApiConnections": { "office365": { "api": { "id": "/subscriptions/@{appsetting('WORKFLOWS_SUBSCRIPTION_ID')}/providers/Microsoft.Web/locations/@{appsetting('WORKFLOWS_LOCATION_NAME')}/managedApis/office365" }, "connection": { "id": "/subscriptions/@{appsetting('WORKFLOWS_SUBSCRIPTION_ID')}/resourceGroups/@{appsetting('WORKFLOWS_RESOURCE_GROUP_NAME')}/providers/Microsoft.Web/connections/office365" }, "connectionRuntimeUrl": "@parameters('office365RuntimeUrl')", "authentication": "@parameters('office365Authentication')" } } }

Parameters.json:

{ "responseString": { "type": "string", "value": "helloone" }, "office365RuntimeUrl": { "type": "string", "value": "office365ConnectionRuntimeUrl" } }

v-prakumar commented 1 year ago

@ccastrotrejo PFA. image

v-prakumar commented 1 year ago

@ccastrotrejo Issue is seen with office connector, After adding and saving office connector automatically parameters.json is adding. image

v-prakumar commented 1 year ago

Issue is still reproducible in vsix 2.18.1

v-prakumar commented 1 year ago

@ccastrotrejo @Eric-B-Wu @preetriti1 Issue is not reproducible in VSIX 2.24.3. Now the Parameterization test case is also working fine respect to this issue. For now I am closing this issue. If it is reproducible again in future we can re-open the same.