A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hi Rahim,
Thank you for reaching out to Microsoft Community Support. It looks like the issue is caused by URL encoding, where the % character in the file name is being converted to %25. Based on Microsoft Learn and community discussions, here are some possible solutions:1. Use Correct Encoding for the File NameInstead of manually encoding the file name, try using double encoding:plaintext_api/web/lists(guid'listID')/items(itemID)/File/moveto(newurl='/sites/siteName/TLF/document%2525.docx',flags=1)This ensures that % is correctly interpreted as part of the file name.2. Use Power Automate’s "CreateCopyJobs" APISome users have reported success using the CreateCopyJobs API instead of moveto. This method avoids encoding issues:json{ "destinationUri": "/sites/siteName/TLF/document%.docx", "options": { "KeepBoth": false } }You can find more details on this approach here.3. Try SharePoint REST API AlternativeAnother workaround is using the MoveCopyUtil.MoveFileByPath endpoint:_api/SP.MoveCopyUtil.MoveFileByPath(overwrite=@a1)?@a1=trueThis method ensures the file name remains unchanged during the move process.4. Check for Microsoft UpdatesMicrosoft may have updated Power Automate’s handling of file moves.Contact Microsoft Support – If you need more information and update, you may need to reach out to Microsoft Support through
- Ticket Support: Visit Microsoft Support and sign in to submit a support request.
- Phone Support: Microsoft provides customer service phone numbers based on your region. You can find the appropriate contact number here.
I hope this information will help you well. Please let us know if you require any further assistance.Best Regards,Hoang-D - MSFT | Microsoft Community Support Specialist