pnp / pnp/pnpframework

While creating site via TeamSiteCollectionCreationInformation no team and planner populated

Open
#514 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
259
Forks
161
Avg merge
10h 33m
Merged PRs (30d)
1

Description

Hello,

Here is my code:

 var siteCreationInfo = new TeamSiteCollectionCreationInformation

            {
                Alias = siteData.Alias,
                DisplayName = siteData.Name,
                IsPublic = false,
                Owners = siteData.Owners.ToArray()
            };
var ctx = await SiteCollection.CreateAsync(ctxTenant,siteCreationInfo, graphAccessToken: graphToken);

Site is getting populated, but without teams and planner. I was under assumption that site should be provisioned with teams and planner?

If not, is it possible to provision them with PnPFramework or graph api only?

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with TeamSiteCollectionCreationInformation and SiteCollection.CreateAsync, then check the PnP Framework documentation for the provisioning behavior described. Verify whether team and Planner creation is supported by the API or requires separate Microsoft Graph operations. Done means documenting the supported behavior and, if applicable, identifying the separate provisioning path.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.