Scot Woodyard
Scot Woodyard

Reputation: 69

Azure API Management with Function App - not showing all functions

I have an Azure Functions App that has about 15 functions (API Calls). The project uses Swashbuckle. When I go to the portal, select the function app, and select "Functions" I can see all 15 functions. When I import the Function App into Azure API Management, it only sees the "Swagger" and "SwaggerUI" functions - the rest are missing.

I've looked through the configuration of the function and azure API management but I cant find an answer. Any help appreciated.

enter image description here

Upvotes: 0

Views: 1478

Answers (3)

Turbot
Turbot

Reputation: 5233

as mentioned, you need to check on 2 points

  1. You can import only Functions that are based off HTTP trigger
  2. Ensure the authorization level setting set to Anonymous or Function

you can accepted this an answer to your question, Cheer !

Upvotes: 1

Scot Woodyard
Scot Woodyard

Reputation: 69

Thank you - the authorization level was set to "Admin" on the other functions. Changing it to "Function" solved the problem!

Upvotes: 0

suziki
suziki

Reputation: 14103

When I go to the portal, select the function app, and select "Functions" I can see all 15 functions. When I import the Function App into Azure API Management, it only sees the "Swagger" and "SwaggerUI" functions - the rest are missing.

As Turbot says, not all of the function will be loaded. Please make sure your function is based on httptrigger instead of other triggers.

Upvotes: 0

Related Questions