如何使用代码对Logic应用程序microsoft.web/connections连接进行身份验证 [英] How do you Authenticate a Logic app microsoft.web/connections connection with code

查看:103
本文介绍了如何使用代码对Logic应用程序microsoft.web/connections连接进行身份验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个具有Office 365连接的逻辑应用程序.当然,我可以在门户中手动对此进行身份验证,但是每次从部署自动化管道进行部署时,我都必须这样做.

I have a logic app with an Office 365 connection. Of course I can authenticate this in the portal manually but I would have to do this every time I deploy from my deployment automation pipeline.

我发现了此信息,但不再可用:

I have found a post of this but it is no longer available:

使用PS验证office365逻辑应用连接器

不再可用的链接

这是我在门户网站中的意思:

Here is what I mean in the portal:

有人知道我如何通过Powershell或az clie或其他方式实现此自动化吗?

Any idea how I automate this with say Powershell or az clie or something else?

谢谢 拉斯

推荐答案

Microsoft回答了此问题:

This question was answered by Microsoft:

问题描述:

您无法更改Office 365 API连接的用户名

You are unable to change the user name for the Office 365 API connection

范围定义:

要在有关Office 365 API连接的上述问题上提供帮助

To provide assistance on the above issue with Office 365 API connection

故障排除步骤:

我尝试了该场景的再现,并尝试了以下选项

I tried the repro of the scenario and tried the below options

  1. 使用隐身窗口-没有帮助
  2. 尝试与新用户创建新的API连接-没有帮助
  3. 退出Office 365套件-没有帮助
  4. 使用新帐户登录计算机-它可以正常工作

解决方案:

基于这些观察,我与专家进行了讨论,看来该连接器当前只能进行Windows AD身份验证,因此是问题. 产品组的待办事项列表中有此功能的更新,并且将在未来几天内更新连接器,我们尚无这方面的预计到达时间.

Based on the observations, I had discussions with the experts, and it seems the connector currently can only take windows AD authentication and hence the issue. Product group has this feature update in the backlog and would be updating the connector in coming days, we do not have an ETA yet on this.

解决方法选项:

  1. 在不需要域用户登录的服务器上使用门户.登录 到具有非域用户的服务器
  2. 使用Mozilla Firefox浏览器-本 很少为客户服务.
  1. Use portal from a server which doesn’t need domain user login. Login to the server with non-domain user
  2. Use Mozilla Firefox browser- this has worked for few customers.

这篇关于如何使用代码对Logic应用程序microsoft.web/connections连接进行身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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