Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Can't add Azure function to flow

Good day!


I'v published azure function in Visual Studio 2017. From Internet I know, I must go to Function API definition and push integration button for function creation in ms flow or powerapps. But, what I see, it is the information about: The API definition (Swagger) is not available for application functions in read-only mode.


How to integrate my Azure function with Flow?


I can't do custom user connector. I'v got the error: Internal error.

Community Support
Community Support

Hi @agemlex,


Please make sure your API definition is valid, about creating an OpenAPI definition for a function, please check the following doc:

Besides, to call a function from Microsoft Flow, the flowing doc would be helpful:

More details about custom connectors in Microsoft Flow, please check it at here:


Best regards,


Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you, Mabel!


I have seen this URLs. In my case, the Azure function made in Visual Studio, not in Azure directly. This is why, I can't use instruction from your links. When I go to API definition, I see Information message about read-only function (from VS, all functions are read-only), and have no interface for generate swagger(open api) or other controls for integration.


What about Azure Functions from Visual Studio? My function works, if I fire it URL, but I can't use it in flow or powerapps. I don't know how.

Have you any solution?


Not applicable

Hi @agemlex and @v-yamao-msft,

I have the exact same issue - I can't export the API definitions to Flow if the function app is created through Visual Studio, because the function is in read-only mode by default. @v-yamao-msft your links are great, but the top one does only work for function apps created in Azure, not in VS. Do you (or anyone else) have a way to export the API definitions for function apps in read-only mode?


Same here, but I know that it worked a couple of weeks ago

I have an bypass way for this issue.

 Call in MS FLOW function url from HTTP action, select post or get method. My Visual Studio function works well. It is do word document from template. You do not need any credentials, URL works without it. I think you can do function with credentials, if you need. Pass and login are post or get params is https request.

Regular Visitor

I have the same issue. I am trying to call Azure functions in my PowerApps. How I can make it work?

I ran into the same issue. Later figured out that, we need to toggle the switch "Funciton app edit mode" from "Read Only" to "Read/Write". That should work.


2019-01-31 15_07_06-Window.png

Frequent Visitor

@mnikam the solution suggested by you only works for Azure functions authored in the Azure Portal. 

If published through Visual Studio, these app settings / configurations are non-editable. 



Helpful resources

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (4,238)