You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
The text was updated successfully, but these errors were encountered:
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.
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,
The text was updated successfully, but these errors were encountered: