SharePoint returns 一般异常:发生未指定的错误

SharePoint returns General Exception: An unspecified error has occurred

我们使用来自 HTTP 操作的图表 API 通过 Power Automate 创建了一个团队:

我们正在使用应用程序权限调用以下 URI。

https://graph.microsoft.com/v1.0/groups('8c250cdd-1f21-405d-b45f-f95cf248e9d8')/sites('root')/webUrl

但结果是 HTTP 500:

{
  "error": {
    "code": "generalException",
    "message": "An unspecified error has occurred.",
    "innerError": {
      "request-id": "0649718d-057d-4c4c-9fec-986c158376ee",
      "date": "2019-12-02T09:11:10"
    }
  }
}

在 Graph Explorer 中调用相同的 URL 按预期工作。

解决方案是使用自定义连接器而不是 HTTP 操作。