How do you Authenticate a Logic app microsoft.web/connections connection with code

跟風遠走 提交于 2019-12-12 09:56:17

问题


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:

Authenticating office365 logic app connector with PS

The link that is no longer available

Here is what I mean in the portal:

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

thanks Russ


回答1:


This question was answered by Microsoft:

Issue description:

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

Scope definition:

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

Troubleshooting steps:

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

  1. Used incognito window- did not help
  2. Tried creating a new API connection with the new user- did not help
  3. Logged out of the office 365 suite- did not help
  4. Logged in to the machine with the new account- it worked

Resolution:

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.

Workaround option:

  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.


来源:https://stackoverflow.com/questions/53530638/how-do-you-authenticate-a-logic-app-microsoft-web-connections-connection-with-co

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!