Remove Wiki tab during provisioning of Teams channels.
As I’m not cloning my Team, but instead enumerating channels and tabs of the source Team used as a template, it was quite straightforward to include the Wiki tab remove logic to the stage where I’m anyway fetching Tabs for each source Team Channel.
This one includes Polly retry-logic for the DELETE operation (my first time using Polly so there’s probably lot of room for improvement).
It would also be nice to bake the Polly retry-logic into the GraphServiceClient itself instead of surrounding all calls. If you know it has already been done, please comment below. I’m always looking forward to improve my code.
I’m currently using version 3.21.0 of Microsoft.Graph library.
Code updated to latest version March 30, 2021.