CreateSiteAsync is not creating Modern Team Site collection and throws exeception.
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description
VS 2022
Azure Function v4
.Net 6.0
PnP.Framework" Version="1.14.0"
Using Sharepoint username and secure password to do the authentication.
AuthenticationManager auth = new AuthenticationManager(SPAdminUserName, securePassword);
TeamSiteCollectionCreationInformation modernteamSiteInfo = new TeamSiteCollectionCreationInformation
{
Alias = "TestSite",
DisplayName = "TestSite",
Description = "TestSiteDesc",
Owners = ownersList,
IsPublic = true,
Classification = "General"
};
var createModernSite = await context.CreateSiteAsync(modernteamSiteInfo);
CreateSiteAsync is failing to provision the site and instead it throws below exception:
System.data.services.client.DataserviceRequestException. "An error occurred while processing this request"
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with the shown VS 2022, Azure Functions v4, .NET 6.0, PnP.Framework 1.14.0 configuration and the CreateSiteAsync call. Inspect the resulting DataServiceRequestException and the site-provisioning request; done means the modern team site is created successfully without that exception.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100