I'm testing out an automated approval. When a file is added to a folder in a Team Sharepoint site in Microsoft Teams of which I am the owner, an approval e-mail is sent. Currently I'm testing with sending it to myself. There is a link to the file as it should be, but when I click it, I get a message stating:
401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied.
Any clues how to get this working?
Could you please share a screenshot of your flow's configuration?
The error message told that you don't have enough permission to access this link (Link to item dynamic content) using the credentials that you supplied currently.
I have made a test on my side and don't have the issue that you mentioned. My flow's configuration as below:
The flow works successfully as below:
When clicking the link within above screenshot, the file (A picture) opens well as below:
Only people with permissions will be able to access the Link to Item dynamic content, if you first access the link within the browser, a Microsoft login dialog would be shown up as below and ask you to select an account to provide credentials for accessing this link:
Please check if the credentials that you supplied currently have enough permissions to access this link. If the people don't have permissions to access this SharePoint Site (Library), they could not access the link.
In addition, please consider take a try to clear cache of your browser and access the link within that browser using your credentials, then check if the issue is solved on your side.
did you ever find a fix for this as i have the same issue.
It doesnt seem to be related to the flow as such, as the approval/reject link works fine in either Chrome or Firefox.
I only get the below error message when the link opens in IE (which is most users default browser)
Actually ive found the workaround on this issue that im seeing.
If i disable Compatibilty View in IE for Intranet sites then the link works fine - bit of a pain!
Hope this helps.
Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @safoster‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!
Thank you for being an active member of the Flow Community!
Flow Community Manager
Check out the new Process Advisor community forum board!
Check out new user group experience and if you are a leader please create your group
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.