How to create a Sharepoint connection from an Azure Logic App?

Adam Peel 40 Reputation points
2024-10-04T15:27:20.8133333+00:00

Hello.

I want to be able to copy a file from our datalake blob storage to a drive on the company sharepoint.

I'm currently struggling with the creating of a connection to sharepoint. In my workflow I create an action to "Copy file" and within a need to sign in to create a connection to Sharepoint. I fill in my credentials and get the following error message:

"You cannot access this right now

Your sign-in was successful, but does not meet the criteria to access this resource. For example, you might be signing in from a browser, app or location that is restricted by your admin."

Does this mean that I need logic apps to be given some kind of access to Sharepoint? If I know exactly what is needed then I can ask our admin to help. I can view the sharepoint in another window without a problem.

Thank you

Microsoft 365 and Office | SharePoint Server | For business
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,551 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vahid Ghafarpour 23,385 Reputation points Volunteer Moderator
    2024-10-04T15:38:31.37+00:00

    Thanks for posting your question in the Microsoft Q&A forum.

    Ensure that your user account has the necessary permissions to access and interact with SharePoint from the application. This includes permissions to create connections and perform file operations.

    https://learn.microsoft.com/en-us/sharepoint/troubleshoot/administration/access-denied-or-need-permission-error-sharepoint-online-or-onedrive-for-business

    ** Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful **

    2 people found this answer helpful.
    0 comments No comments

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.