API Management Could not create an API

Yoan BITAR 1 Reputation point
2021-06-03T10:09:37.067+00:00

Hello,

I'm importing azure functions from azue function app (app service plan) in my APIM

my azure functions are deployed directly from visualstudio pro 2019

when i try to import its azure functions through the azure portal, i always get the following error message:

"API Management
Could not create an API. Please try again later."

important: no vpn

how could you help me to solve this problem

cordially

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,075 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,898 questions
{count} votes

2 answers

Sort by: Most helpful
  1. ChaitanyaNaykodi-MSFT 25,841 Reputation points Microsoft Employee
    2021-06-04T17:45:27.907+00:00

    Hello @Yoan BITAR , apologies for the delay.
    First of all I just wanted to confirm as per the documentation you can only import Functions based off HTTP trigger with Anonymous or Function authorization levels.
    If above check is fine. As per this stackoverflow question, it looks like might be a browser issue and doing a hard refresh might help in resolving the issue. If this does not help you can try and change the browser and see aswell.
    Additionally you can also try importing the Function app via VS Code as shown here

    Please let me know if this helped in resolving the issue or not, I will be glad to continue with our discussion. Thank you!

    0 comments No comments

  2. Yoan BITAR 1 Reputation point
    2021-06-14T15:48:45.43+00:00

    I have noticed that the problem comes from reading with the storage account of the function app

    during deployment, the connection string to the storage account was not correct and suddenly there is no storage account for the functions despite the functions are present there

    thanks for your support

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.