以编程方式创建Microsoft Teams for Classes [英] Create Microsoft Team for Classes programmatically
问题描述
我需要创建一个Microsoft班级团队(具有任务"标签的特殊团队).
I need to create a Microsoft Team for Classes (special Team with an "Assignments" tab).
我无法弄清楚如何使用Microsoft Graph API(测试版)创建一个具有工作分配"选项卡的新团队.
I cannot figure out how to create a new Team that has the Assignments tab using using Microsoft Graph API (Beta).
此外,类笔记本(OneNote)的创建方式有什么特别之处吗?
Also, is there anything special with how the Class Notebook (OneNote) is created?
我需要能够以编程方式执行此操作.
I need to be able to do this programmatically.
推荐答案
Microsoft Graph目前不支持创建新团队.从文档:>
Creating new Teams isn't supported by Microsoft Graph at the moment. From the documentation:
以下是API级别的区别:
The following are the differences at the API level:
- 持久聊天仅适用于Microsoft Teams.此功能由 频道,chatThread和chatMessage资源.
- 组对话仅适用于Office 365组.此功能按层次结构表示 对话,sessionThread和发布资源.
- 当前,您可以使用创建组API创建Office 365组,但不能创建Microsoft Teams中的团队.
- 列出已加入的团队"方法仅适用于Microsoft团队.
- 另请参阅这些API的已知问题.
- Persistent chat is available only to Microsoft Teams. This feature is hierarchically represented by the channel, chatThread, and chatMessage resources.
- Group conversations are available only to Office 365 groups. This feature is hierarchically represented by the conversation, conversationThread, and post resources.
- Currently, you can use the Create groups API to create an Office 365 group, but not a team in Microsoft Teams.
- The List joined teams method applies only to Microsoft Teams.
- See also the known issues for these APIs.
这是一个已知问题,但我不知道何时可用.
This is a known issue but I don't ETA for when it might be available.
这篇关于以编程方式创建Microsoft Teams for Classes的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!