Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Private Channels not cloning #85

Open
aravindmunna opened this issue Jul 7, 2020 · 13 comments
Open

Private Channels not cloning #85

aravindmunna opened this issue Jul 7, 2020 · 13 comments
Assignees
Labels
bug Something isn't working

Comments

@aravindmunna
Copy link

aravindmunna commented Jul 7, 2020

When cloning the Team, Private Channels are not being created and also Wiki tabs are visible twice.

Tried this scenario by providing inputs in Teams Templates list with Custom Team Template ID

Since Each private channel has its own SharePoint site collection. Does it create the same way while cloning also.

Let say For Example I have Existing Team with below structure :-

Team-1 :- To be clonned
Channels:- General
PrivateChannel-1 - Folder-1
PrivateChannel-2- Folder-1
PublicChannel-1 -Folder-1
PublicChannel-2 -Folder-1,Folder-2- File-1

Apps:- OneNote
Planner

Output Expected : What would be the Output Generated in the above Use Case Using this App? Possible cases / Not Possible Cases.

@alexc-MSFT
Copy link
Member

@aravindmunna sadly cloning of Private Channels is not possible in the Graph API.

What we do instead as we re-create the Private Channels from the source team so in your case the channel would be created but NOT the contents.

In order to enable the above (creation of Private Channels from source), you need to deploy the beta Logic App by setting the -UseMSGraphBeta parameter to $true when running the deployment script.

Hope this helps.

Please let me know if I can close this issue.

Thanks

@alexc-MSFT alexc-MSFT self-assigned this Jul 8, 2020
@alexc-MSFT
Copy link
Member

@aravindmunna for reference, the double wiki tabs is a known MS Graph bug - https://github.com/microsoftgraph/microsoft-graph-docs/issues/6922

@aravindmunna
Copy link
Author

@alexc-MSFT Thank you Alex for you response on this. Let me try with Beta setup and get back to you with my observations.

@alexc-MSFT
Copy link
Member

Thanks @aravindmunna - I'll leave the issue open for now but please get back to me when it can be closed.

@aravindmunna
Copy link
Author

@alexc-MSFT Sure, I'll get back to you, as soon as possible.

@aravindmunna
Copy link
Author

aravindmunna commented Jul 9, 2020

@alexc-MSFT Hi Alex, I have tested the above scenario by setting up beta Logic App. Below are my few observations.

After provisioning of New Team from Custom template -

  1. One Note App added as a tab to one of the target general channel same as mentioned in the source general channel , but showing blank not working.

Also in another standard channel it shows : "We're having trouble showing your Wiki right now". Please try again later. It never works

  1. One Note App added as a not added as a Tab to one of the target private channel as as mentioned in the source private channel.
  2. Team with private channels are created but folder structure is not created as mentioned in Source.
    .......

Is this the expected behavior ?

As per the understanding.. It just create a structure of the Team and channel with limited capabilities and Apps are not going to work if added it as Tab.

No folders and content will be created. For such scenarios i think we have to copy it manually/scripting or use migration tool for the task to be done....

Appreciate your comments on this regard....

@alexc-MSFT
Copy link
Member

@aravindmunna see my comments below -

  1. I will check this as I believe this should work - same with the Wiki issue.
  2. Any tabs in your private channel will NOT be replicated by this solution as we create empty private channels at this stage but do not copy the contents.
  3. This is expected, we do not copy any folder structure from the backend SharePoint site.

The solution will clone apps and tabs IF it is not a private channel, i'll explore the OneNote issue and Wiki for you.

And as for folders, yes no content will be copied.

Thanks

@aravindmunna
Copy link
Author

@alexc-MSFT :- Thank you very much for your comments for this regard.

Yes , like i said earlier Tabs are not working in General and public channels as well , I Used both GA and Beta Setup of this APP, to test. I'll be waiting further for your comments on this part.

In order to copy content structure, i'm clear of what you said and i'll try to work on some alternate workaround script to do that job on behalf of this APP for now.

Appreciate in advance for you suggestions.

Many Thanks..!
Surya.

@aravindmunna
Copy link
Author

@alexc-MSFT I can confirm from my end that the Tabs and Apps are not getting created from template in case of Public channels and General channels.

Are you able to replicate the same issue ?

Kindly confirm, because, i tried with both GA and Beta endpoints it didn't worked.

@aravindmunna
Copy link
Author

@alexc-MSFT Hi Any update from your end regarding the provisioning of Tabs in the General and public channels ?

@alexc-MSFT
Copy link
Member

@aravindmunna I'm afraid I don't have an update on this as there are still bugs in the Graph APIs. I'll keep this issue open for now as a reference.

@alexc-MSFT alexc-MSFT added the bug Something isn't working label Dec 18, 2020
@aravindmunna
Copy link
Author

@alexc-MSFT :- oh thank you for the update.Really appreciate.. I thought this thread was forgotten.

I hope this issues are resolved soon as ms teams is evolving very fast and the ms graph api has still some bugs that has to be resolved.

Thanks
Surya.

@MasoudSamadi
Copy link

@alexc-MSFT any update on this? We are in 2023 and I see a lot of issues that are reported, without any progress or update from Microsoft side. Is this app still in development or do we need to look for another solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants