有没有办法创建私人频道的 SharePoint 网站? [英] Is there a way to create a private channel's SharePoint site?

查看:82
本文介绍了有没有办法创建私人频道的 SharePoint 网站?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们目前在为使用/teams"创建的团队创建私人频道时遇到问题.图 API 端点.

We currently have an issue when creating private channels on a team which was created using the "/teams" Graph API endpoint.

从 Graph API 添加私人频道时,与该频道关联的 SharePoint 网站未预配.用户需要访问文件"要创建的站点的 MSTeams 客户端中的选项卡.

When adding a private channel from the Graph API, the SharePoint site associated to the channel is not provisioned. User needs to visit the "Files" tab in the MSTeams client for the site to be created.

我们注意到,最初从 MSTeam 客户端或/groups/{id}/team"创建团队时,情况并非如此.端点(标记为即将弃用).使用这两种方法中的任何一种创建团队,添加私人频道时都会自动创建 SharePoint 网站.

We noticed that this is not the case when initially creating the Team from the MSTeam client or from the "/groups/{id}/team" endpoint (which is marked as being soon deprecated). Using either of those two methods to create the team, SharePoint sites are automatically created when adding a private channel.

我们想知道这是预期的行为还是错误.这对我们来说是一个问题,因为我们无法自动创建私人频道的站点,因此只要用户没有访问文件",我们就无法将文件复制到站点中.标签.

We were wondering if this was the expected behaviour or a bug. It is an issue for us as we have no way to automate the creation of the private channel's site and thus we cannot copy files into the site as long as a user did not visit the "Files" tab.

推荐答案

我想我已经找到了解决这个问题的方法.看起来,如果您首先调用团队的主要频道(通用频道)上的 filesFolder 端点,那么该站点将被配置为随后创建的私人频道.

I think I've found a workaround for this issue. It seems like if you first make a call to the filesFolder endpoint on the primaryChannel of the team (the General channel), then the site will be provisioned for a private channel created afterward.

这篇关于有没有办法创建私人频道的 SharePoint 网站?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆