Bug Description
When the user attaches a file in teams - in the 1:1 chat with the Teams app - and that file is from some file share (SharePoint or OneDrive; like the file suggestions when clicking on the clip in Teams) and not a file from the local computer, there is nothing whatsoever in the MessageActivity context present. Not in ctx.attachment or otherwise. Therefore, these attachments are completely invisible to the Teams app. For local files all works as expected.
Steps to Reproduce
- Set up a message input hook
- Attach a file from a file share like OneDrive or SharePoint that Teams probably automatically sends more as reference than as a file I'd assume
- Check ctx.attachment and see there is nothing but the text message the user put in along with the attachment
Expected Behavior
The attached file is present in ctx.attachment like with locally uploaded files.
Actual Behavior
No trace of any attachment is present whatsoever.
SDK Version
2.0.13.4
Python Version
3.14.6
Additional Context
The environment is an business setup with SSO for SharePoint, OneDrive, Teams etc and is connected together - in case that changes things.
If you need debug logs or something - feel free to let me know and how to get the information you need.
Bug Description
When the user attaches a file in teams - in the 1:1 chat with the Teams app - and that file is from some file share (SharePoint or OneDrive; like the file suggestions when clicking on the clip in Teams) and not a file from the local computer, there is nothing whatsoever in the MessageActivity context present. Not in ctx.attachment or otherwise. Therefore, these attachments are completely invisible to the Teams app. For local files all works as expected.
Steps to Reproduce
Expected Behavior
The attached file is present in ctx.attachment like with locally uploaded files.
Actual Behavior
No trace of any attachment is present whatsoever.
SDK Version
2.0.13.4
Python Version
3.14.6
Additional Context
The environment is an business setup with SSO for SharePoint, OneDrive, Teams etc and is connected together - in case that changes things.
If you need debug logs or something - feel free to let me know and how to get the information you need.