Run azure logic app / connector as service principal

喜欢而已 提交于 2021-02-10 05:15:28

问题


Is it possible to run a logic app or connector as a service principal, in particular under the consumption plan?

I'd guess forcing the app to run in a non-consumption plan via powershell might give more control over the service principal.

The reason I'd want it to avoid an individual's account to be used during an automated deployment.

The closest I thought was to wrangle https://github.com/logicappsio/LogicAppConnectionAuth to do the oauth automagically using a service principal, however trying similar things for data factory connections proved unfruitful and very time consuming, so I'd rather find out sooner than later if I'm barking up the wrong tree.


回答1:


API Connections with OAuth authentication, like Office 365 and Microsoft Team connectors, require manual consent. Unfortunately, at this point in time, authentication for those cannot be fully automated.

As you mentioned, this script https://github.com/logicappsio/LogicAppConnectionAuth will avoid some user clicks when authenticating the connectors, but at the end is going to be a manual step.

HTH



来源:https://stackoverflow.com/questions/48290202/run-azure-logic-app-connector-as-service-principal

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