Forum Discussion
Eric_H
Jan 28, 2020Iron Contributor
Posting files show as insecure and can't open
When attaching files to a Teams post, the files get uploaded, but show as "insecure". We cannot open/view them from the post. However, we can see them normally under the "files" tab. This is not c...
- Feb 24, 2020
BrettHafer I had an open ticket with Microsoft for over a week and they finally replied that it is a known issue. They are a working on a back end fix but do not have an ETA. Not the greatest reply, I know, but it's nice to know I'm not the only one, and that they are already working on resolving.
EMS-KIN1970
Mar 17, 2020Copper Contributor
Eric_HI found that if I edit the posting when the attachments shows insecure, then click on the check mark to save the edit, the insecure status goes away.
- paulbarnfatherMar 18, 2020Copper Contributor
EMS-KIN1970 that's a great workaround, thank you!
- neoashuApr 11, 2020Copper Contributor
I faced same problem and figured out what i did wrong.
When bot receives user consent to upload file its response has replyToId.
It is the activity id that needs to be used to send the file info card ie. https://smba-traff....../conversation/<conversationId>/activities/<replyToId>
After making this change it worked . I have used buttons in teams card and there also to update the card once button is clicked replyToId is used.
"replyToId": "1:1_lchIqmYZbPTi2xph1pGR-4BGAjaduRNThQZ6GTWEh4",
"value": {
"type": "fileUpload",
"action": "accept",
"context": {},
"uploadInfo": {
"contentUrl": "https:///contosco....Documents/Applications/Athakur_laptop/text_file1.doc",
"name": "text_file1.doc",
"uploadUrl": "https://contosco-my.sharepoint.com.......",
"uniqueId": "E4F8E72D-7D61-403C-9D6B-31E595EDC5B5",
"fileType": "doc"
}
},