Azure APIM无法从Function App创建API [英] Azure APIM Fails to Create API from Function App
问题描述
当我尝试使用Create from Function App
在APIM中创建API时,请填写字段并单击Create
.该操作会提供等待点,并在五秒钟后返回并说
When I try to create an API in APIM by using Create from Function App
, I fill out the fields and click Create
. The operation provides the wait dots and comes back in five seconds and says
无法创建API.请稍后再试.
Could not create an API. Please try again later.
我可以创建一个空白的API ...但是不能从现有的功能应用程序中创建一个.我尝试了多种组合,没有产品,所有产品,没有版本,版本..etc.没运气.
I can create a blank API...but not one from an existing Function App. I have tried multiple combinations, No products, all products, no version, version..etc. No luck.
有想法吗?
注释
- 有问题的函数是HTTP触发器.
- 该功能在我的开发盒和Azure上本地工作.
- APIM层是开发人员
- 在该Function应用程序上,我报告了在Visual Studio中发布期间,尝试在发布之前管理应用程序设置失败,并尝试添加新的设置导致Visual Studio意外关闭. 管理发布时的应用程序设置相关信息,不知道.
- The function in question is an HTTP Trigger.
- The function works locally on my development box and in Azure.
- APIM Tier is Developer
- On that Function app, during Publish in Visual Studio I have reported that attempting to manage application settings before a publish fails and in trying to add a new one causes Visual Studio to unexpectedly close. Manage Application Settings on Publish Related, don't know.
推荐答案
我只是遇到了同一问题,因为我使用的是Linux (Preview)
而不是Windows.当我放开Function App并使用Windows重新创建一个新App时,我的API Manager能够从中创建一个API.
I just ran into the same issue because I used Linux (Preview)
instead of Windows. When I blew away the Function App and recreated a new one with Windows, my API Manager was able to create an API off it.
这篇关于Azure APIM无法从Function App创建API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!