cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Advocate IV
Advocate IV

Sharepoint Share URL not working properly on copied file

Hi All

 

I have been going a little crazy with this. I have a flow that triggers on a new a file in a sharepoint library folder. The file gets copied into another folder in the same sharepoint library and shared. The URL is then sent out.

 

It appears that if I MOVE the file to the new folder all is well. But if I COPY the file to the new folder, the share URL is incorrect.

When you open it you get a message like "Sorry, something went wrong."

 

Anyone else stumble on this?
Thanks
G.

3 REPLIES 3
Community Support
Community Support

Hi @geommm,

 

I have tested your issue on my side, and I find the same issue with the following configuration of Link Type and Scope:

Issue:

Annotation 2019-09-03 140803.pngConfiguration of Link Type and Scope:Annotation 2019-09-03 141201.png

 

The issue is caused I have no permission to share others to edit the file, so I change the Link type into View only:Annotation 2019-09-03 140657.png

Then it works well and it only could view:Annotation 2019-09-03 141554.png

 

So, the way you could to do is edit the permission of SharePoint, you can refer to this document how to edit permission in SharePoint.

https://docs.microsoft.com/en-us/sharepoint/how-to-create-and-edit-permission-levels

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.

Highlighted

Hi Lin Tu, thanks for taking time to test this.

This is strange as on my side I have only used the read-only sharing. I have never tried the permissions for editing.

So the problem happened with read-only permissions for me.

However, this indicates that it is something related to permissions. It could be linked to organisation permissions.

My workaround was to move the file and share it instead of copying. I guess I could have tried to copy it afterwards while sharing the original file but I no longer needed to do so.

Regards

G.

Highlighted

Hi @geommm,

 

Could you have a test to add the Check out file and Check in file actions, please?Annotation 2019-09-03 170231.png

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.

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Solution Authors
Users online (12,458)