question

JandreBadenhorst-6613 avatar image
0 Votes"
JandreBadenhorst-6613 asked DianaSanchez-1444 answered

Unable to connect to Sharepoint via Logicapps

Hi

When trying to access a clients data from a link they gave from sharepoint logicapps says: Error code: 'Unauthorized', Message: 'Unable to access the Folder in dataset

On the same user from where I'm trying to access the data I have access to everything except in Logic apps, can someone with a bit more knowledge on subject maybe assist?

azure-logic-apps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered PrashantKumar-6981 commented

Hi @JandreBadenhorst-6613

As per the error message, it looks like the authentication is getting failed from the Sharepoint end. as the user does not have the required permission.
Can you check with your team whether the user has access to the root SharePoint site or the folder that you are trying to access? If not, can you provide the root access to the user and reconfigure it again and see if it helps you.

· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I am facing the same issue while designing a logic app.
I am able to access the folder directly on SharePoint website but I get this error when I create a action block SharePoint List Folder.

0 Votes 0 ·

Hi, at the end I moved away from Logic Apps.

What is your end goal with the Logic App?

0 Votes 0 ·

My requirement is quite simple.
I have to check folder Test at SharePoint web portal (say https://wxyz.sharepoint.com/sites/abc/def/test). Whenever one or more files are created/modified in this folder, they should be copied to Blob storage.

I created below trigger and action to achieve this (see attached pic).
120440-capture.jpg



I have read and write access on SharePoint test folder (https://wxyz.sharepoint.com/sites/abc/def/test).
But when I run this, I get error with code Unauthorized. Error is same as highlighted in attached pic.

0 Votes 0 ·
capture.jpg (150.5 KiB)
PrashantKumar-6981 avatar image
0 Votes"
PrashantKumar-6981 answered PrashantKumar-6981 commented

My requirement is quite simple.
I have to check folder Test at SharePoint web portal (say https://wxyz.sharepoint.com/sites/abc/def/test). Whenever one or more files are created/modified in this folder, they should be copied to Blob storage.

I created below trigger and action to achieve this (see attached pic).

120464-capture.jpg





I have read and write access on SharePoint test folder (https://wxyz.sharepoint.com/sites/abc/def/test).
But when I run this, I get error with code Unauthorized. Error is same as highlighted in attached pic.


capture.jpg (150.5 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

It looks like the exact same error that I had, are you the owner of the sharepoint?

My problem was the client gave our email access to the sharepoint library to view but through Logic apps we had to use one of their own users. I'm not exactly sure why that was so.

1 Vote 1 ·

I am not the owner. I only have access to this particular folder.

Any suggestions?

1 Vote 1 ·
MauricioMarzol-6490 avatar image
0 Votes"
MauricioMarzol-6490 answered MauricioMarzol-6490 published

Hi guys,


Did you solve this issue? Can you please share your solution?
I'm facing exactly the same problem.

Thnak you,
Mauricio

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

DianaSanchez-1444 avatar image
0 Votes"
DianaSanchez-1444 answered

Hi guys,


Did you solve this issue?
I'm facing exactly the same problem.

Thank you,
Diana

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.