Forum Discussion

NextLabs_Tiger's avatar
NextLabs_Tiger
Copper Contributor
Oct 29, 2019

block a message in Microsoft Teams

 

Now we plan to develop a data protection App for Microsoft Teams. One feature is block a message when the message includes someone keyword.

Now we can use delegated permission and Teams itself http API(https://apac.msgapi.teams.microsoft.com/v1/users/ME/conversations//messages/******?behavior=softDelete) to delete the message, but it not friendly to Teams Users, We try found a better method to implement it.

 

We found nothing but some similar production like Mcafee and Smarsh released on https://products.office.com/en-us/microsoft-teams/apps-integration-and-services they have implemented block-message function, like below picture:

https://i.stack.imgur.com/kPgP8.png

 

We asked the same question on SOF: https://stackoverflow.com/questions/58602003/how-to-block-a-message-in-microsoft-teams.Could Could someone tell us how to implement the function, Thanks very much.

 

Another, we do remove a chat participant by the same way. Is there any track to remove a chat participant directly

7 Replies

  • I don't have an answer but I'd love to know how these 3rd parties can modify an existing message, I need to something similar for a different reason.

    • NextLabs_Tiger's avatar
      NextLabs_Tiger
      Copper Contributor

      Hilton GiesenowGraph Delegate permission + API(https://apac.msgapi.teams.microsoft.com/v1/users/ME/conversations//messages/******?behavior=softDelete)

      • Hilton Giesenow's avatar
        Hilton Giesenow
        Brass Contributor

        NextLabs_Tiger sure but that's to delete - I want to know how to -modify- a message after it's typed, before it gets posted, like for instance to redact a word. 

    • NextLabs_Tiger's avatar
      NextLabs_Tiger
      Copper Contributor

      adam deltingerThanks for your relay.

       

      I had used MS DLP on trial, but I could not find relative APIs for calling, because we plan to implement the function without DLP, like office 365 E3 and so on.

       

      it is said that

      ```

      Protect information with the Microsoft https://go.microsoft.com/fwlink/p/?linkid=2095459, options from https://go.microsoft.com/fwlink/p/?linkid=2080849 and https://go.microsoft.com/fwlink/p/?linkid=2080850, and solutions you can build and integrate using our open APIs (offered soon).

      ```

       

      By research, some products have integrate the function, is there someone way to get the APIs.

      I'm a newbie programmer, could you give me some advises, thank you very much.

Resources