[英]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我的应用程序只有Mail.ReadWrite而我没有找到与
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 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.据我所知,一旦
Mail.ReadWrite
权限被授予应用程序,目前没有办法阻止删除请求。 Would you consider filing a feature request on the M365 Developer Platform so we can look into this?您是否考虑在 M365 开发人员平台上提交功能请求,以便我们进行调查?
Let me know if this helps and if you have further questions.让我知道这是否有帮助,如果您还有其他问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.