简体   繁体   English

Microsoft Teams:创建后将创建的团队置于隐藏列表中

[英]Microsoft Teams : Placing Created Team in hidden list once created

I have an app that is used to create various teams in the microsoft teams app via the use of the Microsoft Graph API.我有一个应用程序,用于通过使用 Microsoft Graph API 在 Microsoft 团队应用程序中创建各种团队。 This app creates a group with an associated team and then adds members to that team depending on criteria.此应用程序创建一个具有关联团队的组,然后根据标准将成员添加到该团队。

However once the team is created, the members of the team see the newly created team in the "Your Teams" list, this list can get long so to make it easier I automatically place the team in the "Hidden Teams" list.但是,一旦创建了团队,团队成员就会在“您的团队”列表中看到新创建的团队,此列表可能会变长,以便更轻松地自动将团队放入“隐藏团队”列表中。

In order to do this I would archive and then unarchive a team, this would automatically place the team in the "Hidden Teams" list for all members.为了做到这一点,我将存档然后取消存档一个团队,这会自动将该团队置于所有成员的“隐藏团队”列表中。

Recently I have run into an issue where archiving the team works, but when trying to unarchive the team, I would get a "object not set to an instance of an object" error returned from the method.最近我遇到了归档团队工作的问题,但是在尝试取消归档团队时,我会从该方法返回“对象未设置为对象的实例”错误。

This behaviour is new and causes my application to break, whereas for the last couple of months the app behaved fine, i was wondering if there is another way to automatically add the created team to the hidden teams list.这种行为是新的,会导致我的应用程序中断,而在过去的几个月里,该应用程序表现良好,我想知道是否有另一种方法可以将创建的团队自动添加到隐藏团队列表中。

Currently there is no Teams / Graph API to set the Visible/Hidden state of a Team in a User's view.目前没有团队/图形 API 来设置用户视图中团队的可见/隐藏状态。

I expect that in your approach users will still get notified of them being added to a team , only then to find that the teams has been archived and or hidden.我希望在您的方法中,用户仍然会收到他们被添加到团队的通知,然后才发现团队已被存档或隐藏。

I suggest that it might be simpler and more understandable for end-users to separate我建议最终用户分开可能更简单,更容易理解

  • the automated creation of the Teams this will allow you to do any setup / configuration团队的自动创建这将允许您进行任何设置/配置
  • Adding users to the Teams将用户添加到团队
    • which makes them visible ,这使它们可见,
    • and show notifications to all users added并向所有添加的用户显示通知

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Microsoft 团队:filesFolder 正在为新创建的团队/频道返回 404 - Microsoft teams: filesFolder is returning 404 for a newly created team/channel Microsoft Teams 频道 email 地址、SharePoint 和使用 Graph 创建团队时文件不可访问 Api - Microsoft Teams channel email address, SharePoint and files are inaccessible when the team is created using Graph Api 在 Microsoft Teams 中使用 Microsoft Graph API 列出私人团队频道成员 - List private team channel members with Microsoft Graph API in Microsoft Teams MS Teams 频道在由 MS Graph API 请求创建时被隐藏 - MS Teams channel is hidden when created by MS Graph API request 为通过 Microsoft Graph 创建的团队禁用了分配屏幕 - Assignment screen disabled for Teams created via Microsoft Graph 通过 Microsoft graph API 创建的团队会议无法在 outlook 中编辑 - Teams Meetings created via the Microsoft graph API cannot be edited in the outlook 在团队中创建新频道时的 Microsoft 图形通知 - Microsoft graph notification when new channel created in teams 跟踪打开选项卡的 Microsoft Teams 用户 ID(由机器人创建) - Track Microsoft Teams userid for who opened the tab (created by bot) 在 MS Teams 中创建新团队时,我们如何从 MS Teams 触发事件(并调用外部应用程序)? - How can we trigger an event from MS Teams (and call an external app) when a new team is created in MS Teams? Microsoft Graph API:团队应用程序 - 使用“团队 ID”“列出频道成员”的问题 - Microsoft Graph API: Teams App - Problem with "List members of a channel" using "team id"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM