Amit Maharjan
Amit Maharjan

Reputation: 97

In azure function app, how to manually change function app trigger type after creation?

So, I have a function app with http trigger, with the following settings

function.json

{
  "bindings": [{
      "authLevel": "function",
      "type": "httpTrigger",
      "direction": "in",
      "name": "req",
      "methods": [
        "get",
        "post"
      ]
    }, {
      "type": "http",
      "direction": "out",
      "name": "res"
    }
  ]
}

Now, I want to change the trigger type to queue, I updated the settings as such:

{
  "type": "queueTrigger",
  "direction": "in",
  "name": "queueItem",
  "queueName": "adreporterqueue",
  "connection": "QueueConnectionString"
}

I published the function. But the trigger type is still http. How to change it to queue manually not programmatically unlike this question (Is there a way to change the Azure function trigger type programmatically.)?

Upvotes: 2

Views: 907

Answers (1)

JayaChatterjee-MSFT
JayaChatterjee-MSFT

Reputation: 961

I am afraid that will not be possible.

However, this has been already discussed here : https://learn.microsoft.com/en-us/answers/questions/437094/index.html

[to avoid duplication]

Upvotes: 2

Related Questions