Applies to Product - Microsoft Copilot Studio
What’s happening?
The file name property is missing from the System.Attachments variable within Copilot Studio, preventing the saving of files with their original names.
Reason:
This arises from the absence of the file name property in the System.Attachments variable, which leads to errors when attempting to save files. The error message indicates that the name isn't valid and that certain characters, such as the underscore ('_'), are not recognized.
Resolution:
- Check File Naming Conventions: Ensure that the file names being saved do not contain any invalid characters. Common invalid characters include \ / : * ? " |.
- Update Copilot Studio: Verify that you are using the latest version of Copilot Studio, as updates may include bug fixes and improvements that can resolve this issue.
- Custom Variable: If the file name property is missing, consider creating a custom variable to store the file name separately. This custom variable can then be used when saving the file.
- Power Automate Integration: If using Power Automate flows, ensure that the data passed between the flow and Copilot Studio includes the file name. Utilize input and output variables to pass this information.
