User Profile
luunk
Copper Contributor
Joined 4 years ago
User Widgets
Recent Discussions
Re: Error retrieving this channel's SharePoint URL
What we have discovered during our testing is that when you create at private channel with GraphAPI. The permissions of the SharePoint site does not populate automatically. What happens is that when a user presses the "file tab" in Teams of the newly created private channel, the MS backend some how starts to create the SharePoint site for the private channel. The thing is, and here it gets tricky, is that if it's NOT the owner of the private channel who clicks on the file tab in teams. The creation of the private SharePoint area fails because the backend is trying to use the owner permissions to create it. (Is my theory at least). So when a normal member presses the file tab the first time, the backend tries to use the owners permissions (the owner on top of the owner list in teams) to create the file area. And since the normal member is not the same person as the top owner, the creation fails. This will also fail if there are multiple owners of the private channel. And if it's not the owner at the top of the list that presses the file tab first then it will fail in the same way. How we have solved it is that when a private channel is created by Graph API we only assign one owner to the team and no one else. When the owner get the file area working (by just pressing the file tab) they starts to invite the other persons who should be part of the team.8.3KViews0likes1CommentRe: Error retrieving this channel's SharePoint URL
andrewfeehan Thanks, that might work. The thing is that we create teams with an automation which uses GraphAPI to create new teams on a regular basis. They are "short-lived" teams for collaborating with external users in different projects. when the project is done the team is archived. "Fixing" each new team created with the rename and create new channel from the app is not really a solution in our case since we sometimes create 10 or more teams each week. It have been working previously, but lately all new team created have the issue where the sharepoint site is not created for a private channel in the teams team. The strange part is that it works when you create a channel from the app, but not when the channel is created with the GraphAPI. It should be the same backend, right? Or is it just that Team creation is not meant to be automated? 🙂14KViews0likes0CommentsRe: Error retrieving this channel's SharePoint URL
Just adding I´m seeing same type of error. Does not help to get the mail address. Get a HTTP 403 Forbidden error when I´m trying to access the file area in teams or get the mail address. And yes, I´m both owner of the team and the private channel.14KViews1like2Comments
Groups
Recent Blog Articles
No content to show