Site Activation on a specific SharePoint Site Collection, fails on Activation Step

  • 15 February 2022
  • 0 replies
  • 31 views

Userlevel 5
Badge +20
 

Site Activation on a specific SharePoint Site Collection fails on Activation Step

kbt155874

PRODUCT
K2 Cloud
K2 Five
TAGS
Microsoft SharePoint
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

Activating the K2 for SharePoint App on a SharePoint site collection results in an error on the activation step that does not return any error message and does not actually get to the point of activating any sites or subsites in the collection. 

 

 

 

Symptoms

This only happens on a specific site collection, other site collections activate without issue. A network/Fiddler trace of the error will return a 500 error on an AJAX call and Host Server logs will log the following error message:

An error occurred in the SharePointIntegration Service Instance. System.ArgumentNullException: Value cannot be null.
Parameter name: title at SourceCode.SmartObjects.Services.SharePoint.Integration.Execution.Execute.ConfigureSpoProvider(String title, String siteUrl, String tenantId, String resourceId)

Troubleshooting Steps

The stack trace here is the key component. Note in the Host Server log error:

 

"ArgumentNullException: Value cannot be null.
Parameter name: title at SourceCode.SmartObjects.Services.SharePoint.Integration.Execution.Execute.ConfigureSpoProvider(String title, String siteUrl, String tenantId, String resourceId)"

This ConfigureSpoProvider method (which may be named differently if you are running SharePoint On-Prem) calls the SharePoint Group Provider that is stored in K2 Management. An error such as this indicates that something is wrong with this site collection's group provider.

To see if this might be the case, navigate to K2 Management > Users > SharePoint and make sure the Name and Site URL values for the site collection's group provider are valid.
If the Group Provider Name value is blank, browse to the site collection > Site Settings > Look and Feel > Title, Description, and Logo and verify that there is a valid entry for the site collection title. 

 


0 replies

Be the first to reply!

Reply