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

New command: create modern site #116

waldekmastykarz opened this Issue Dec 15, 2017 · 1 comment


None yet
1 participant
Copy link

waldekmastykarz commented Dec 15, 2017

Create modern site.

  • command: spo site add --type [type] -u|--url [url] -a|--alias [alias] -t|--title <title> -d|--description [description] -c|--classification [classification] --allowFileSharingForGuests --siteDesign [siteDesign] --siteDesignId [siteDesignId] --isPublic
  • type - type of site to create. Allowed values TeamSite|CommunicationSite. Default TeamSite. The selected site type determines the required and applicable options.

Options for TeamSite:

  • title - site title, required
  • alias - site alias, required, used for the URL and name of the associated group
  • description - site description, optional
  • classification - site classification, optional
  • isPublic - determines if the associated group is public or not

Options for CommunicationSite:

  • title - site title, required
  • url - site url, required
  • description - site description, optional
  • classification - site classification, optional
  • allowFileSharingForGuestUsers - determines whether it's allowed to share file with guests, optional
  • siteDesign - type of communication site to create, optional. Allowed values Topic|Showcase|Blank. Each value resolves to a GUID: Topic=Guid.Empty, Showcase=6142d2a0-63a5-4ba0-aede-d9fefca2c767, Blank=f6cc5403-0d63-442e-96c0-285923709ffc
  • siteDesignId - id of the custom site design to use to create the site
    Either siteDesign or siteDesignId is required

For more information see:

@waldekmastykarz waldekmastykarz changed the title New command: create new modern site New command: create modern site Dec 16, 2017

@waldekmastykarz waldekmastykarz self-assigned this Dec 17, 2017


This comment has been minimized.

Copy link

waldekmastykarz commented Dec 19, 2017

I've just finished implementing web requests for creating both modern team and collaboration sites. See Next stop verifying that all the different combinations correctly work with the API, tests and docs

waldekmastykarz added a commit to waldekmastykarz/office365-cli that referenced this issue Dec 20, 2017

@waldekmastykarz waldekmastykarz added this to the v0.4.0 milestone Dec 20, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment