在哪里可以找到要在 Microsoft Flow 的 Azure REST API 调用中使用的受众和客户端 ID 字段?

Where to find Audience and Client id fields to use in Microsoft Flow's Azure REST API call?

我正在尝试从 Microsoft Flow 调用 CDN Purge 的 Azure REST API url。

但是,我不知道在 Audience 和 Client ID 字段中输入什么。

我尝试搜索文档,但未找到任何相关结果。我认为其中之一应该是 App Id。

在受众和客户 ID 字段中输入什么以及如何找到这些值?

是否需要执行任何其他操作才能使其正常工作(例如设置权限以允许清除 CDN、更新清单、分配角色)?

PS:我在最近的尝试中得到 BadRequest. Http request failed as there is an error getting AD OAuth token: 'AADSTS50105: Application '<appId>' is not assigned to a role for the application '<appIdUri>'.

audience 是您注册的 App ID URI 的值(homepage 下图)

Client Id不过是Application ID