Unable to Groupify already created sharepoint site
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 8.0
PnP.Framework" Version="1.14.0"
Using Sharepoint username and secure password to do the authentication.
AuthenticationManager auth = new AuthenticationManager(SPAdminUserName, securePassword);
creating site collection using TeamNoGroupSiteCollectionCreationInformation and calling PnP.Framework.Sites.SiteCollection.Create method.
Next, we are trying to groupify the same site collection as below.
var groupifyprjsite = new TeamSiteCollectionGroupifyInformation
{
Alias = aliasName,
DisplayName = siterequestmessage.TeamOrSiteName,
IsPublic = false,
KeepOldHomePage = true,
Description = siterequestmessage.SiteDescription,
Owners = receivedSiteOwners,
SiteAlias = aliasName
};
tenant.GroupifySite(siterequestmessage.SiteUrl, groupifyprjsite);
when try to groupify site using GroupifySite , it throws exception as below:
{"An error occurred while processing this request."}
"System.Data.Services.Client.DataServiceRequestException"
We have tried using other method(CreateGroupForSite) on Tenant class as well which throws the same exception.
Please advice.
Thank you,
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 call in the issue with TeamNoGroupSiteCollectionCreationInformation, Tenant.GroupifySite, and Tenant.CreateGroupForSite using the stated VS 2022, Azure Functions v4, .NET 8.0, and PnP.Framework 1.14.0 setup. Inspect the resulting DataServiceRequestException and determine whether the groupification request is supported for this site state; done means identifying a confirmed cause and supported resolution or documenting the limitation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- api, backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100