A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hi @Shehroz Ali
Good day, and thank you for detailing your issue so clearly.
Since this is happening to only one user while others are working fine, you can rule out a global SharePoint outage or a list-level setting (like attachments being disabled). The "Upload is invalid" error in SharePoint is usually triggered by a conflict between the user's local environment and the SharePoint upload script.
You can follow this checklist to troubleshoot this:
- Browser isolation:
Most "Upload is invalid" errors are caused by corrupted browser cache or a stale authentication token.
- Ask the user to try the upload in an Incognito/Private window. If it works there, they need to clear their browser cache and cookies for the SharePoint domain.
- Ad-blockers or "privacy" extensions can sometimes block the specific
POSTrequest SharePoint uses to attach files. Disable extensions one by one if Incognito works but standard mode does not.
- File property issues:
Even if the file name looks fine in the error message, SharePoint can be picky about metadata and file state.
- Ensure the file name doesn't contain restricted characters:
~ # % & * { } \ : < > ? / | ". Even if the error showsExample.pdf, check if the actual file has trailing spaces or hidden characters. - Ensure the file isn't currently open in another program (like Acrobat or Word). If the file is being synced by OneDrive, wait for the blue sync icon to turn into a green checkmark before uploading.
- Ask the user to rename the file to something generic (e.g.,
Test1.pdf) and move it to their Desktop before uploading to rule out long file path issues.
- SharePoint permissions
- Go to Site Settings > Site Permissions. Remove the user from the group entirely and then re-add them. This forces a refresh of their User Information List entry.
- If your site uses fine-grained permissions, ensure the "Limited Access User Provider" feature isn't interfering. Usually, though, a simple re-addition fixes the "invalid" token issue.
- Power Apps issue:
If your SharePoint list uses a customized Power Apps form instead of the standard SharePoint panel, the "Upload is invalid" error is very common if:
- The "MaxAttachments" property in the Power Apps attachment control is set to a number the user has already reached.
- There is a required field on the form that hasn't been filled out yet, which prevents the attachment from "committing" to the record.
- Contact Microsoft Support:
If the issue persists after you verify the possible causes, you can reach out to Microsoft Support through the Microsoft 365 Admin Center so Microsoft can collect logs and investigate your issue.
Microsoft also provides customer service phone numbers based on your region. You can find the appropriate contact number here: Customer service phone numbers - Microsoft Support
This route ensures that a Microsoft support engineer can initiate a remote session to investigate backend configurations, run advanced diagnostic tools, and, if necessary, escalate the case to specialized teams with access to internal systems and logs. These backend resources are essential for resolving issues that go beyond what’s visible in the user interface.
As community moderators, we’re here to guide you, but due to privacy and security limitations, we don’t have access to the backend tools required for a full resolution. For this reason, contacting Microsoft Support via the Admin Center is the most secure and efficient way forward.
I hope this helps you resolve the issue quickly. I’m glad to assist and truly hope the information provided has been useful. Please feel free to reach out anytime if you need further assistance.
If you find my post helpful, kindly consider marking it as the accepted answer. Doing so can assist others in the community who may have similar questions in finding solutions more quickly.
Thank you for your kindness and contributions to the forum.
Note: Follow the steps in our documentation to enable email notifications if you want to receive email notifications related to this topic.