Microsoft-Graph:“创建团队”选项卡不起作用

时间:2019-04-30 20:23:26

标签: microsoft-graph

当我调用图形API在团队中创建新标签时,我从API收到201(已创建),但是该标签从未出现。

我正在发送以下JSON(注意它已被接受,并且收到201)

组ID和笔记本ID是分别要添加的组和笔记本的正确GUIDS。

OneNoteWebUrl来自笔记本本身(我叫GET来获取笔记本并使用它的.Links.OneNoteWebUrl.Href值)

我正在关注以下文档:https://docs.microsoft.com/en-us/graph/teams-configuring-builtin-tabs

{
    "teamsApp@odata.bind":"https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/0d820ecd-def2-4297-adad-78056cde7c78",
    "displayName":"Criminal Case Notes",
    "configuration": {
        "contentUrl":"https://www.onenote.com/teams/TabContent?entityid=%7BentityId%7D&subentityid=%7BsubEntityId%7D&auth_upn=%7Bupn%7D&notebookSource=New&notebookSelfUrl=https%3A%2F%2Fwww.onenote.com%2Fapi%2Fv1.0%2FmyOrganization%2Fgroups%2F{GroupID}%2Fnotes%2Fnotebooks%2F{NotebookID}&oneNoteWebUrl={OneNoteWebUrl}&notebookName=My%20Notes",
        "removeUrl":"https://www.onenote.com/teams/TabRemove?entityid=%7BentityId%7D&subentityid=%7BsubEntityId%7D&auth_upn=%7Bupn%7D&notebookSource=New&notebookSelfUrl=https%3A%2F%2Fwww.onenote.com%2Fapi%2Fv1.0%2FmyOrganization%2Fgroups%2F{GroupID}%2Fnotes%2Fnotebooks%2F{NotebookID}&oneNoteWebUrl={OneNoteWebUrl}&notebookName=My%20Notes",
        "websiteUrl":"https://www.onenote.com/teams/TabRedirect?redirectUrl={OneNoteWebUrl}"
    }
}

我期望它会添加一个“便笺”选项卡,但是可惜在常规频道中什么也没有出现:(

0 个答案:

没有答案