Teams won't allow me to attach a file to an assignment

H Vardy (KES Staff) 10 Reputation points
2025-09-08T18:06:18.97+00:00

I get an error message when I try to attach a document to a Teams assignment. I was able to do this before. I have tried in both the browser and the app and also tried uploading the file locally, from One Drive and from Teams in the files section of the channel.

 User's image

Microsoft Teams | Microsoft Teams for education | Assignments | Set assignments

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

6 answers

Sort by: Newest
  1. Alexis-NG 18,080 Reputation points Microsoft External Staff Moderator
    2025-09-08T18:46:25.9166667+00:00

    Hi @H Vardy (KES Staff),

    Thanks for reaching out to Q&A Forum. 

    Based on the error message you received “There was a problem when attaching this file. Please remove and try again” and the context you provided, to help us investigate and resolve this issue, could you please confirm the following:

    1. Does the issue occur for all file types? Try uploading a simple .docx or .pdf under 500MB.
    2. Which account type are you using with your Teams? Is a personal account (@hotmail. @gmail. @outlook.com,...) or a work /school account provided by your organization?
    3. Which system are you currently using (Windows, MacOS....)
    4. Is the issue specific to OneDrive or also local files?
    5. Does the issue occur for all file or just one?
    6. Are other staff or students experiencing the same issue? If yes, you may need to check with your IT admin about a SharePoint or Teams policy issue. 

    Once we have this information, we’ll be better positioned to guide you through the next steps. Please feel free to add any additional information you deem as necessary. Note: Please understand that our initial response does not always resolve the issue immediately. However, with your help and more detailed information, we can work together to find a solution.  Thank you for your patience and your understanding. If you have any questions, please feel free to reach out. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread. 

    User's image

    Was this answer helpful?

    0 comments No comments