mainroads / Mrwa.Teams.Procurement.Deployment

0 stars 0 forks source link

Create Shared Channels #3

Open McoreD opened 2 years ago

McoreD commented 2 years ago

The following needs to be a Shared Channel.

       <pnp:Channel DisplayName="Develop"
          Description=""
          IsFavoriteByDefault="false" />
McoreD commented 1 year ago

Write this at https://github.com/pnp/PnP-Provisioning-Schema/issues/591:

Hi @PaoloPia, this is excellent news. Thanks for taking your time to respond to me. We are developing a PowerShell script to automate Team creation in our corporation. Are you able to provide any indicative time as to when - next year? by end of this year etc.? Noting the last update was March 2021, I am wary that it could be in some time. Thanks.

I would also like to think out loud a bit in terms of the upcoming implementation.

Since Shared Channels can be created with or without access to existing members of the Parent Team, it would make sense to make use of the existing: Private="true" when "Share this channel with everyone on the team checkBox is disabled.

Logically, if you add support for the following, then we got more capability: Shared="true"

The following will create a private Shared Channel when the "Share this channel with everyone on the team" checkBox is disabled:

        <pnp:Channel DisplayName="Evaluation"
          Description=""
          IsFavoriteByDefault="false"
          Shared="true"
          Private="true" />

In summary, I hope the following will be possible:

Shared (true) Shared (false) Shared (not in xml)
Private (true) Private Shared Channel Private Channel Private Channel
Private (false) Shared Channel (everyone on the team can access) Standard Channel Standard Channel
Private (not in xml) Shared Channel (everyone on the team can access) Standard Channel Standard Channel

Thanks for listening!