添加API应用程序时Azure Logic应用程序错误 [英] Azure Logic Apps error While Adding API Apps

查看:88
本文介绍了添加API应用程序时Azure Logic应用程序错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用POC来通过使用Logic Apps + API Apps从本地SQL获取记录.

I am doing on POC for getting records from On-Premise SQL By using Logic Apps + API Apps.

我已经在API应用程序中创建了SQL连接器,还创建了逻辑应用程序.但是,当尝试在Logic App Designer中添加SQL Connector API App时.就是说

I have created SQL Connector in API Apps and also created Logic Apps. But when try to add the SQL Connector API App in Logic App Designer. it is saying

无法获取招摇.确保您在端点上启用了CORS 并正在调用HTTPS端点.

Failed to fetch swagger. Ensure you have CORS enabled on the endpoint and are calling an HTTPS endpoint.

我浏览并发现设置权限级别.

I browsed and found out for setting the Permission Level.

  1. Appsettings->设置API定义&启用了CORS.

  1. Appsettings - > Set API Definition & CORS enabled.

身份验证/授权->开->允许请求(noAction)

Authentication/Authorization - > On -> Allow Request (noAction)

重新启动API服务.

但仍然出现相同的错误.

but still getting the same error.

我浏览了URL" http://ftpconnector .azurewebsites.net/".它说的是权限

I have browsed the URL "http://ftpconnector.azurewebsites.net/" . it is saying Permission

服务权限\"FTPConnector \"设置为内部"

"Permissions for service \"FTPConnector\" are set to internal"

如何更改权限级别.我认为,只要更改即可,就可以在Logic App设计器中添加连接器.

How can I Change the permission Level. I think if I change only I am able to add the connector in Logic App designer.

请协助

谢谢

Vinoth

推荐答案

在应用程序设置中,您应该将访问级别更改为公共(已认证)".当前,仅允许同一资源组中的其他API应用程序或Web应用程序调用该API应用程序.在这种情况下,级别将是内部的.

In the application settings you should change the access level to "public (authenticated)". currently Only other API apps or web apps in the same resource group are allowed to call the API app. In such a case the level will be internal.

>权限用于服务的请求被设置为内部,但是该请求是外部的.对于同一资源组中的应用程序

这篇关于添加API应用程序时Azure Logic应用程序错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆