Hi,
I'm trying to copy a newly created file from one Sharepoint library to another. I'm a site owner on both sites. I have an expression that finds the folder name on the new site and then URI-Encodes it. When I run it, it fails.
Here is the full expression:
uriComponent(concat('Patient Records and Data',replace(variables('folderPath'),'Shared Documents/CompanyName','')))
But here is the perplexing part:
The "Destination Folder" Input for the failed request reads perfectly encoded (ie. folder%20name%20good )
But the error message is "Failed to verify the existence of destination location https://site.sharepoint.com/folder name good"
Other than the spaces the names are right, I can copy and paste the destination link into a new tab and it works.
Anyone ever have this problem before?
Hi @wesborland1234,
Have you tried not to convert the folder path into URI code? For example as below:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you, But it does not work when you don't convert it either. Just gives the same error. And if you copy and paste the failed URL into a browser it brings you right to the folder so I know it's there, and I have permissions to it.
Hi @wesborland1234,
I tried again and I find that if there has an addition "/" at the beginning of the folder path, it won't work.
But if I remove it, it could work.
For example "/Shared Documents/NewChannel" conldn't work, but "Shared Documents/NewChannel" could work:
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
That doesn't work for me. Thanks for trying to help though. Here is the full flow I am doing (maybe the problem is in a step leading up to it?):
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
User | Count |
---|---|
28 | |
26 | |
23 | |
17 | |
10 |
User | Count |
---|---|
63 | |
55 | |
29 | |
27 | |
25 |