Code Monkey home page Code Monkey logo

Comments (4)

McoreD avatar McoreD commented on September 4, 2024 1

Hi @McoreD, I ran into the same issue, any chance you resolved this?

Unfortunately not yet. I believe the developers need to support this for it to work.

from pnp-provisioning-schema.

McoreD avatar McoreD commented on September 4, 2024

On a related note, I tried the following this morning:

All the channels marked for Shared, ended up being created as Standard. Not sure why.

<pnp:Provisioning xmlns:pnp="http://schemas.dev.office.com/PnP/2022/09/ProvisioningSchema"
                  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                  xsi:schemaLocation="http://schemas.dev.office.com/PnP/2022/09/ProvisioningSchema https://raw.githubusercontent.com/PnP/PnP-Provisioning-Schema/master/PnP.ProvisioningSchema/ProvisioningSchema-2022-09.xsd">

  <pnp:Teams>
    <pnp:Team DisplayName="{parameter:TeamPrefix}-{parameter:ProjectNumber}-{parameter:ProjectAbbreviation}-{parameter:TeamSuffix}"
      Description="IDD Project team for {parameter:ProjectName}"
      HiddenGroupMembershipEnabled="true"
      Visibility="Private"
      MailNickname="{parameter:TeamPrefix}-{parameter:ProjectNumber}-{parameter:ProjectAbbreviation}-{parameter:TeamSuffix}">

      <!-- Member Settings -->
      <pnp:MembersSettings AllowCreateUpdateChannels="false"
        AllowCreatePrivateChannels="false"
        AllowDeleteChannels="false"
        AllowAddRemoveApps="false"
        AllowCreateUpdateRemoveTabs="false"
        AllowCreateUpdateRemoveConnectors="false" />

      <!-- Message Settings -->
      <pnp:MessagingSettings AllowUserEditMessages="true"
        AllowUserDeleteMessages="false"
        AllowOwnerDeleteMessages="false"
        AllowTeamMentions="true"
        AllowChannelMentions="true" />

      <!-- Guest Settings -->
      <pnp:GuestSettings AllowCreateUpdateChannels="false"
        AllowDeleteChannels="false" />

      <!-- Security -->
      <pnp:Security AllowToAddGuests="true">
        <pnp:Owners ClearExistingItems="true">
          <pnp:User UserPrincipalName="[email protected]" />
        </pnp:Owners>
      </pnp:Security>

      <pnp:Channels>
        <!-- Standard Channels -->
        <pnp:Channel DisplayName="Communications"
          Description=""
          IsFavoriteByDefault="true" />
       <pnp:Channel DisplayName="Develop"
          Description=""
          IsFavoriteByDefault="true" />
        <pnp:Channel DisplayName="Meetings"
          Description=""
          IsFavoriteByDefault="true" />
        <pnp:Channel DisplayName="Program"
          Description=""
          IsFavoriteByDefault="true" />

        <!-- Private and Shared Channels -->
        <pnp:Channel DisplayName="Commercial"
          Description=""
          IsFavoriteByDefault="true"
          MembershipType="Shared" />
        <pnp:Channel DisplayName="OnSite"
          Description=""
          IsFavoriteByDefault="true"
          MembershipType="Shared"  />
        <pnp:Channel DisplayName="Procurement"
          Description=""
          IsFavoriteByDefault="true"
          MembershipType="Shared" />
        <pnp:Channel DisplayName="Evaluation-Commercial"
          Description=""
          IsFavoriteByDefault="false"
          MembershipType="Private" />
        <pnp:Channel DisplayName="Evaluation-Qualitative"
          Description=""
          IsFavoriteByDefault="false"
          MembershipType="Private" />
      </pnp:Channels>
    </pnp:Team>
  </pnp:Teams>

</pnp:Provisioning>

from pnp-provisioning-schema.

McoreD avatar McoreD commented on September 4, 2024

Added screenshot to support my post above:
You can see "Commercial" channel is created as a Standard channel although it is set to Shared in the XML.
Monosnap Project_Team xml — Mrwa Teams Procurement Deployment 2023-06-05 13-05-32

from pnp-provisioning-schema.

svenspointofview avatar svenspointofview commented on September 4, 2024

Hi @McoreD, I ran into the same issue, any chance you resolved this?

from pnp-provisioning-schema.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.