Azure / logicapps

Azure Logic Apps labs, samples, and tools
MIT License
367 stars 302 forks source link

EventTrigger designer error: subscription identifier '@appsetting('WORKFLOWS_SUBSCRIPTION_ID')' is malformed or invalid. #494

Closed PingPongSet closed 2 years ago

PingPongSet commented 2 years ago

I get the error below

The provided subscription identifier '@appsetting('WORKFLOWS_SUBSCRIPTION_ID')' is malformed or invalid.

image

Connections.json is the default file with no changes to the file below:

https://github.com/Azure/logicapps/blob/master/azure-devops-sample/logic/connections.json { "managedApiConnections": { "azureblob": { "api": { "id": "/subscriptions/@appsetting('WORKFLOWS_SUBSCRIPTION_ID')/providers/Microsoft.Web/locations/@appsetting('WORKFLOWS_LOCATION_NAME')/managedApis/azureblob" }, "connection": { "id": "/subscriptions/@appsetting('WORKFLOWS_SUBSCRIPTION_ID')/resourceGroups/@appsetting('WORKFLOWS_RESOURCE_GROUP_NAME')/providers/Microsoft.Web/connections/azureblob" }, "connectionRuntimeUrl": "@appsetting('BLOB_CONNECTION_RUNTIMEURL')", "authentication": "@parameters('blob_auth')" } } }

Azure Logic Apps (std) for VS Code: v1.0.12

Any idea?

Refs: https://stackoverflow.com/questions/71409682/parameters-in-connections-json-for-workflows-with-single-tenant-logic-apps-stand

AB#17624505

WenovateAA commented 2 years ago

@PingPongSet Same problem again: https://github.com/Azure/logicapps/issues/463

AbodeSaafan commented 2 years ago

Duplicate of #463

ligonier-JSullivan commented 1 year ago

This says it is a duplicate of #463 and #453 but those issues were never fully resolved. I'm having the same issue and looked at the original (now closed) issues and on both there was never a full resolution - does anybody know whether this has been resolved because a year later logic app connections in the portal still do not seem to like the use of app settings... Getting this when I attempt to use them:

The provided subscription identifier '@appsetting('WORKFLOWS_SUBSCRIPTION_ID')' is malformed or invalid. (Code: InvalidSubscriptionId)

AbodeSaafan commented 1 year ago

@ligonier-JSullivan can you confirm what version your VSCode logic apps extension is?

cc: @ccastrotrejo

ligonier-JSullivan commented 1 year ago

Version 1.0.46

@.***

I also can’t get it to work in the Azure portal.

Joe D. Sullivan III Lead Data & Integration Engineer | Ligonier Ministrieshttp://www.ligonier.org/ 407-333-4244 ext. 1169

From: Abdulqader Saafan @.> Sent: Tuesday, March 21, 2023 1:38 PM To: Azure/logicapps @.> Cc: Joe Sullivan @.>; Mention @.> Subject: Re: [Azure/logicapps] EventTrigger designer error: subscription identifier @.***('WORKFLOWS_SUBSCRIPTION_ID')' is malformed or invalid. (Issue #494)

@ligonier-JSullivanhttps://github.com/ligonier-JSullivan can you confirm what version your VSCode logic apps extension is?

cc: @ccastrotrejohttps://github.com/ccastrotrejo

— Reply to this email directly, view it on GitHubhttps://github.com/Azure/logicapps/issues/494#issuecomment-1478324759, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADKN4I5YI24OKXSBMX6XCSTW5HRQBANCNFSM5QMLGC3A. You are receiving this because you were mentioned.Message ID: @.**@.>>

ccastrotrejo commented 1 year ago

Hi @ligonier-JSullivan, is the same error prompting in Azure portal? I am trying to figure out if there is any other configuration in the logic app that might be affecting the resolution of the parameterization.