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

When attempting to register the K2 for SharePoint app, we receive the following error at the last step (K2 Application).

"Thread 1: The remote server returned an error: (403) Forbidden."

Image

Symptoms

SharePoint environment is not fully configured to support HTTP.

Troubleshooting Steps

On the SharePoint front-ends, please run these SharePoint PowerShell commands and retry the activation.

# Dev Only - Disable HTTPS requirement on SharePoint

$stsc = Get-SPSecurityTokenServiceConfig

$stsc.AllowMetadataOverHttp = $true

$stsc.AllowOAuthOverHttp= $true

$stsc.Update()