如何通过工作流 ID 找到逻辑应用程序/工作流名称?

时间:2021-02-25 19:57:00

标签: azure powershell azure-logic-apps

我有逻辑应用程序的工作流 ID(例如 33ccf311e6074f668a85eff71026956b)。是否有 PowerShell 脚本可以为我提供此逻辑应用程序的名称?

谢谢, 雷兹

1 个答案:

答案 0 :(得分:2)

由于看起来您所指的“工作流 ID”可能是访问终结点 URL 的一部分,因此您可以使用 Azure 资源图查询。例如:

az graph query -q "where type == 'microsoft.logic/workflows' and properties.accessEndpoint endswith '33ccf311e6074f668a85eff71026956b'"