简体   繁体   中英

How to 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 MS Office website they have implemented block-message function, like below picture:

the block message picture

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

The API is not available on Microsoft Graph. More information on the available APIs for Microsoft Teams can be found here https://docs.microsoft.com/en-us/graph/api/resources/teams-api-overview?view=graph-rest-1.0

You could also have a look at DLP for Microsoft Teams here https://docs.microsoft.com/en-us/microsoft-365/compliance/dlp-microsoft-teams#define-a-new-dlp-policy-for-microsoft-teams

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM