good day,
graph query /teams/{id}/channels/{id}/filesFolder works fine but only if:
Otherwise sharepoint for private channel is not created and no automatic provisioning can be done on private channel default document library. Is were any workaround on this?
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Hi Team
We also found that if the private channel was created by the application token, the sharepoint site will not be created unless some one click the files tab in the channel in the GUI. but the private channels created through delegate permission work fine.
Thanks
Hi Team
We also found that if the private channel was created by the application token, the sharepoint site will not be created unless some one click the files tab in the channel in the GUI. but the private channels created through delegate permission work fine.
Thanks
hey @qquiuc ,
I noticed one more thing, if parent team is "class" template private channels are created with SP site with no issue, but if in teams parent team was created "Other" option it fails. This is with educational licence.
Also working on the same issue. There is a difference between Edu and Ent tenants and the template you use. In Ent the SP private channel sites are created right away if you create a Team based on an existing Team (template). If you create the Team from scratch the SP private channel sites are only created after clicking Files.
In Edu you are not getting SP private channel sites without clicking on Files first if you use the Edu 'Other' Teams template. But if you use one of the other three available Edu Teams templates, the sites are created right away!
Very confusing behaviour...
This is current behavior of the system, there is no work around for now.
Hi Team
We also found that if the private channel was created by the application token, the sharepoint site will not be created unless some one click the files tab in the channel in the GUI. but the private channels created through delegate permission work fine.
Thanks
Hi @qquiuc , Is there any way to get the site id of private channel unless click on the files tab using the delegate permission?
This is current behavior of the system, there is no work around for now.
Hi @VaraPrasad-MSFT ,
it might be not entirely true,
Currently if I use Education teams with Parent team channel created from "Staff" template but not "Other" template, I can create private channels via graph and sharepoint sites are provisioned without clicking on "Files" in private channels.
One thing to note, if I use beta rest call to graph when id does not work and "files" must be clicked. If used version 1.0 works fine.
this works: https://graph.microsoft.com/v1.0/teams/{teamid}/channels
this works but sharepoint is not created : https://graph.microsoft.com/beta/teams/{teamid}/channels
This is current behavior of the system, there is no work around for now.
Hi @VaraPrasad-MSFT ,
it might be not entirely true,
Currently if I use Education teams with Parent team channel created from "Staff" template but not "Other" template, I can create private channels via graph and sharepoint sites are provisioned without clicking on "Files" in private channels.One thing to note, if I use beta rest call to graph when id does not work and "files" must be clicked. If used version 1.0 works fine.
this works: https://graph.microsoft.com/v1.0/teams/{teamid}/channels
this works but sharepoint is not created : https://graph.microsoft.com/beta/teams/{teamid}/channels
@ValerasNarbutas and @VaraPrasad-MSFT : facing same kind of issue, creating new private channel in Team (using New-MgTeamChannel calls), private channel creation works like a charm, the SharePoint site is however not provisioned (until a user clicks on Files). Any hints/clues to get the provisioning of SharePoint site collection working?
This is current behavior of the system, there is no work around for now.
Hi @VaraPrasad-MSFT ,
it might be not entirely true,
Currently if I use Education teams with Parent team channel created from "Staff" template but not "Other" template, I can create private channels via graph and sharepoint sites are provisioned without clicking on "Files" in private channels.
One thing to note, if I use beta rest call to graph when id does not work and "files" must be clicked. If used version 1.0 works fine.
this works: https://graph.microsoft.com/v1.0/teams/{teamid}/channels
this works but sharepoint is not created : https://graph.microsoft.com/beta/teams/{teamid}/channels@ValerasNarbutas and @VaraPrasad-MSFT : facing same kind of issue, creating new private channel in Team (using New-MgTeamChannel calls), private channel creation works like a charm, the SharePoint site is however not provisioned (until a user clicks on Files). Any hints/clues to get the provisioning of SharePoint site collection working?
@JvdH-NL: SharePoint site will get created when you hit Files after Channel creation. This is by design. As of now there is no way to get the SharePoint site provisioned by any other way.
This is current behavior of the system, there is no work around for now.
Hi @VaraPrasad-MSFT ,
it might be not entirely true,
Currently if I use Education teams with Parent team channel created from "Staff" template but not "Other" template, I can create private channels via graph and sharepoint sites are provisioned without clicking on "Files" in private channels.
One thing to note, if I use beta rest call to graph when id does not work and "files" must be clicked. If used version 1.0 works fine.
this works: https://graph.microsoft.com/v1.0/teams/{teamid}/channels
this works but sharepoint is not created : https://graph.microsoft.com/beta/teams/{teamid}/channels@ValerasNarbutas and @VaraPrasad-MSFT : facing same kind of issue, creating new private channel in Team (using New-MgTeamChannel calls), private channel creation works like a charm, the SharePoint site is however not provisioned (until a user clicks on Files). Any hints/clues to get the provisioning of SharePoint site collection working?
@JvdH-NL: SharePoint site will get created when you hit Files after Channel creation. This is by design. As of now there is no way to get the SharePoint site provisioned by any other way.
Thanks for restating. This "unfinished design/implementation" ... from governance/architecture perspective we want to stapple/change document libraries of private channels before users start to work there (and this also blocks migration of documents to private channels,), anymway: I was hoping for some kind of fix/change in October/November timeframe (the 'only thing' I need is a Graph call that enables me to get the destinitation of a (private) channel provisioned.
@Abhijit-MSFT will msft fix this issue or provide a workaround within a useful period? This is a big blocker for any ISV's.
Regards
@Abhijit-MSFT and @daniel-pfaeffli : any news/info about this?
Also very interested in seeing this issue fixed.
@VaraPrasad-MSFT @Abhijit-MSFT We are also facing the same issue. This is currently blocking us from correctly creating private channels. It works when first creating the team through the Teams UI and then using the graph to create the private channels. We need this to work the same way when the team is created through the graph.
Should be fixed by MSFT. Right now we are sending an email from Power Automate to an IT Admin to click the Files tab and kick off a second workflow to provision folders and metadata inside the Private channel. Doable for 1 private channel, not for multiple, but the private channel site should just automatically be created from Graph call.
@ValerasNarbutas , Site will get created once user click on files tab in channel, currently this is expected behavior
@ValerasNarbutas , Site will get created once user click on files tab in channel, currently this is expected behavior
Expected maybe, but not logical or practical from an automation point of view of course!
@ValerasNarbutas : As @Jeroen00 states, we know it is the expected behaviour, but this is a nightmare to automate + a blocking issue i our company to move our data to Sharepoint online. Still would love to see this feature "enchanced"
Most helpful comment
@Abhijit-MSFT will msft fix this issue or provide a workaround within a useful period? This is a big blocker for any ISV's.
Regards