Microsoft Exchange图API无法删除对话 [英] Microsoft exchange graph API Unable to delete Conversation

查看:80
本文介绍了Microsoft Exchange图API无法删除对话的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在调用Micosoft图形API,以将其功能集成到我的自定义应用程序中.当我去调用API使用组ID和对话ID删除对话时,我得到了以下response.我正在查看官方Graph API

I am invoking Micosoft graph API's to integrate its functionality in my custom application. When I go to invoke API to delete conversation using group id and conversation ID, I get below response . I am looking at API as mentioned in official Graph API docs. Any idea what is wrong ? I have Group.ReadWriteAll permission for User

{
  "error": {
    "code": "ErrorInvalidOperation",
    "message": "ConversationId isn't supported in the context of this operation.",
    "innerError": {
      "request-id": "d90689bb-6a3d-4e51-b538-58ecaafaa626",
      "date": "2020-05-04T11:02:27"
    }
  }
}

推荐答案

猜想因为我没有足够的信息:

Conjecture since I don't have enough information:

当前,仅对组织或学校帐户的委派访问支持DELETE对话.您不能将DELETE对话用于应用程序访问(没有交互式登录时).您也不能将其与委派访问个人帐户(outlook.com)一起使用.

Currently, DELETE conversation is only supported for delegated access for organizational or school accounts. You cannot use DELETE conversation for application access (when there is not interactive login). You also can't use it with delegated access for personal accounts (outlook.com).

请提供经过清理的URL和请求正文,因为这样可以更轻松地回答此问题.

Please provide a sanitized URL and request body as that will make it easier to answer this question.

这篇关于Microsoft Exchange图API无法删除对话的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆