在逻辑应用程序中参数化工作流URL [英] Parameterize workflow url in logic app

查看:52
本文介绍了在逻辑应用程序中参数化工作流URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




我们正在研究
参数化
我们的逻辑应用程序准备投入生产。



我们正试图在我们的一个连接器(逻辑应用程序)中参数化工作流URL并且我们正在看到错误如下:


客户端有权在范围'/ subscriptions / * sanitized * / resourceGroups / inventory-dev上执行'Microsoft.Logic / workflows / run / action'操作-rg /提供商/ Microsoft.Logic /工作流/ InboundInventoryFeedsMonitor ,
但未找到链接订阅'@ {parameters('subscription_id')}'。



" inputs" :{

解决方案

嗨Eric,



您是否正在访问参数'subscription_id' 并且模板中的其他内容不是你可以在下面尝试:


  " [concat subscription_id'),'/ resourceGroups /',参数('shared_resource_group_name'),'/ providers / Microsoft.Logic / workflows / ChunkMessage')]"



如果这解决了问题,请告诉我。请不要忘记将此答复标记为答案。:)


We're working on parameterizing our logic apps in preparation to go to production.

We're trying to parameterize a workflow url in one of our connectors (logic app) and we're seeing the error below:

The client has permission to perform action 'Microsoft.Logic/workflows/run/action' on scope '/subscriptions/*sanitized*/resourceGroups/inventory-dev-rg/providers/Microsoft.Logic/workflows/InboundInventoryFeedsMonitor', however the linked subscription '@{parameters('subscription_id')}' was not found.

"inputs": {

解决方案

Hi Eric,

The was you are accessing the parameter 'subscription_id'  and others inside your template is not right. 

you can try below:

"id": "[concat('/subscriptions/',parameters('subscription_id'),'/resourceGroups/',parameters('shared_resource_group_name'),'/providers/Microsoft.Logic/workflows/ChunkMessage')]"

Let me know if this solves the problem. please dont forget to mark this reply as the answer. :)


这篇关于在逻辑应用程序中参数化工作流URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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