简体   繁体   中英

How Preventing deletion of a message or prevent DELETE requests to my azure AD App (Microsoft Graph) apis?

I'm creating an Application to access my Mail so far everything works fine.

My app has only Mail.ReadWrite And I didn't find anything related to
preventing deletion of a message or to prevent DELETE requests to my App.

This Page is only about how to delete a message, but there's nothing about how to prevent users from doing.
https://learn.microsoft.com/en-us/graph/api/message-delete?view=graph-rest-1.0&tabs=http

So is there anyway I can prevent or limit the user from deleting Messages (Mails).

Thanks.

Thanks for reaching out. To my knowledge there isn't currently a way to prevent delete requests once the Mail.ReadWrite permission has been granted to the app. Would you consider filing a feature request on the M365 Developer Platform so we can look into this?

Let me know if this helps and if you have further questions.

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