简体   繁体   English

如何阻止删除消息或阻止对我的 azure AD 应用程序(Microsoft Graph)api 的 DELETE 请求?

[英]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.

相关问题 是否可以通过 Powershell 将 Microsoft Graph 委托权限添加到 Azure AD 应用程序? - Is it possible to add Microsoft Graph delegated permissions to Azure AD app via Powershell? 如何通过 Microsoft Graph Azure AD B2C 自定义用户属性进行交互 PowerShell SDK? - How to interact with Azure AD B2C custom User Attributes via Microsoft Graph PowerShell SDK? 如何防止外部租户在 Azure AD 中给自己一个应用程序的角色? - How to prevent outside tenants from giving themselves an app's roles in Azure AD? Microsoft Azure AD SCIM 终结点 - Microsoft Azure AD SCIM endpoints 阻止具有 Azure AD 帐户的用户访问我的存储 - Prevent users with Azure AD accounts to access my storage 使用 Azure AD 使用 Microsoft Graph 在帐户之间发送电子邮件会产生无效的 IP 错误 - Sending emails between accounts using Microsoft Graph using Azure AD produces invalid IP error Blazor WASM 使用 Azure AD B2C 无法调用 Microsoft.Graph api - Blazor WASM using Azure AD B2C fails calling Microsoft.Graph api Azure 从 API 调用 Microsoft Graph 时 AD B2C 重置密码选项 - Azure AD B2C reset password options when calling Microsoft Graph from an API 将 com.microsoft.graph.requests.GraphServiceClient 与 azure 身份的客户端凭据提供程序一起使用时出现问题 - Issue while using com.microsoft.graph.requests.GraphServiceClient with Client credentials provider of azure identity 如何将 Azure AD B2C 应用程序标记为发布者已验证 - How to mark an Azure AD B2C App as Publisher Verified
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM