Recommended authentication approach for Logic Apps Office 365 connector

Ershad Nozari 426 Reputation points
2021-03-16T22:40:02.563+00:00

We are using the office 365 connector in Logic Apps to integrate with SharePoint online. At the moment, we are using my personal Microsoft corporate accounts for authentication, which is not ideal. What is the recommended approach for connector authentication in such scenarios, is it possible to use service accounts?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,543 questions
{count} votes

Accepted answer
  1. JayaC-MSFT 5,606 Reputation points
    2021-03-18T08:44:08.827+00:00

    Hello @Ershad Nozari yes you are right. You need an Office365 account. However, I mentioned earlier that the logic app and the user account should be in the same domain/organization.
    You may refer to https://learn.microsoft.com/en-us/answers/questions/72334/failure-of-office365-api-connection-authentication.html to understand the limitation.


1 additional answer

Sort by: Most helpful
  1. Anonymous
    2021-03-18T07:25:39.703+00:00

    You can use Managed Identities..

    1. Configure a Managed Identity in the Azure Portal
    2. Under the "Identity" -> User Assigned you add the newly created Managed Identity.

    That will enable the Logic App to run as a specified "service account" when connecting to other Azure services.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.