SharePoint Logic App connector authentication using Client Id and Secret

Luciano Andrea 45 Reputation points
2024-03-19T15:13:54.0233333+00:00

SharePoint Logic App connector seems to imply hard-coding AD account.

How create a file on Sharepoint online using Client Id and Secret instead?

Azure Logic Apps
Azure Logic Apps

An Azure service that automates the access and use of data across clouds without writing code.

Microsoft 365 and Office | SharePoint | For business | Windows

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 71,021 Reputation points Moderator
    2024-03-20T04:55:18.32+00:00

    @Luciano Andrea Thanks for reaching out.

    The principal auth is not supported by SharePoint Connector. It would only work for user connections. You cannot use SharePoint connector with client ID and secret.

    Alternative you can leverage the HTTP connector to call any external endpoint to automate the same at your end.

    References: https://learn.microsoft.com/en-us/training/modules/integration-http-connector/2-rest-service

    https://learningbydoing.cloud/blog/connecting-to-sharepoint-online-using-managed-identity-with-granular-access-permissions/

    Please 'Accept Answer' if it helped so that it can help others in the community looking for help on similar topics.

    Was this answer helpful?


Your answer

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