问题描述
我正在创建Power Automate Powerapp,它在O365租户中创建了一个用户。我几乎无所事事,但是当我尝试将用户添加到所选的distrolist,o365组或安全组时,我收到“无效版本:组”的响应错误,它带有404错误,但组ID是正确,到现在为止,我已经对用户执行了许可证调用,因此可以进行操作和“获取”。因此,我不明白该错误的含义。 Graph(v1.0)只有一个可用的版本。谁能帮我。我将尝试从Power automate中发布尽可能多的原始代码。
流量输入:Flow Input 流量输出如下:
{
"statusCode":404,"headers":{
"request-id":"*******-00f8-4fb8-976b-976445fbff35","client-request-id":"f6f1574c-00f8-4fb8-976b-976445fbff35","x-ms-ags-diagnostic":"{\"ServerInfo\":{\"DataCenter\":\"Central US\",\"Slice\":\"SliceC\",\"Ring\":\"2\",\"ScaleUnit\":\"001\",\"RoleInstance\":\"AGSFE_IN_21\"}}","Strict-Transport-Security":"max-age=31536000","x-ms-apihub-cached-response":"true","Cache-Control":"private","Date":"Thu,27 Aug 2020 22:43:12 GMT","Content-Length":"225","Content-Type":"application/json"
},"body":{
"error":{
"code":"ResourceNotFound","message":"Invalid version: groups","innerError":{
"date":"2020-08-27T22:43:13","request-id":"*******-00f8-4fb8-976b-976445fbff35"
}
}
}
}
这是Graph API连接器架构:
/groups/{id}/members/$ref:
patch:
responses:
default:
description: default
schema:
type: object
properties:
value:
type: array
items:
type: object
properties:
id: {type: string,description: id}
description: value
summary: Add-GroupMember
operationId: Add-GroupMember
parameters:
- {name: id,in: path,required: true,type: string}
- {name: 'content-type:',in: header,required: false,type: string,default: application/json,x-ms-visibility: advanced}
- name: body
in: body
required: false
schema:
type: object
properties:
[email protected]:
type: array
items: {type: string}
description: [email protected]
希望所有这些对您有所帮助。让我知道您是否还需要其他任何东西,但是我对这些东西还是陌生的,所以对它进行解释将很有用。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)