-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tracked Property expression that should be valid is not accepted #746
Comments
Could you help me with the template you have used for deployment to test this and validate it. |
I have just seen this recur for another template after setting secret outputs on a prior key vault action that retrieves the API key, where nothing else has changed and deployment of that template worked fine previously. In this case the expression is
This doesn't reference the key vault action's outputs at all, it's just taking a single json value from the output of the HTTP request action. If it is secret outputs that is causing this, that behaviour is wrong. It doesn't expose the secret at all. |
I have further reproduced this in the Azure portal designer, where the same Logic App will refuse to save if the tracked properties field references the action's own outputs, and a secure output is referenced in the HTTP action's Headers section - but it will tolerate a secure output referenced in the Authorization section. |
Hi @TWolversonReply , |
Sorry, I cannot, this is a customer implementation that is commercial in confidence. |
Hi @TWolversonReply , Ok, No worries, could give me steps or expressions used to repro this error please. Any screenshots that could help me to repro at my side , you can mask any confidential data . |
See resource group template for a minimal example: https://gist.github.com/TWolversonReply/116e06ef1a7a466d5d56fb84b2c335c6 When setting the secure outputs property on the key vault action in "746-with-secure-outputs", I can't save it, and receive the linked error message in the portal: https://imgur.com/a/cSjFmwx I amended the template for this logic app to what I would expect to work, and find I can't deploy it, with the same error message mentioned previously. |
This issue is stale because it has been open for 45 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
The stated resolution from a Microsoft support ticket was to use a compose action to capture the value required, and then refer to that action in the tracked property expression. |
Describe the Bug
Using an HTTP action with a multipart/form-data body
Setting a trackedProperty on this action to any expression referencing
action().inputs.body
Deployment from local filesystem via
az group deployment create
passing just the resource group name and the template file is rejected with the error message:I have tried various permutations, including literally just copying the action input with
@{action().inputs.body}
. It does only reference the action's inputs, so at the very least, the error message is wrong - the reason it states for rejecting the deployment isn't valid.I can only guess the reason is something to do with this being a multipart body, because doing very similar things for other HTTP actions in other logic apps works fine.
Plan Type
Consumption
Steps to Reproduce the Bug or Issue
action().inputs.body
as a tracked property of an HTTP multipart actionWorkflow JSON
Screenshots or Videos
No response
Additional context
No response
AB#17581659
The text was updated successfully, but these errors were encountered: