Skip to main content


 

Symptoms


We have installed K2 for SharePoint App in a SharePoint site collection in developer VM. While registering the app i.e. while running the registration wizard encountering an error like "Unable to retrieve realm for SharePoint site". Please find the attached screenshot "Error_Activating_K2_BlackPeral_For_SharePoint.png" for details.

Article http://community.k2.com/t5/K2-blackpearl/quot-Unable-to-retrieve-realm-for-SharePoint-site-quot-error-in/ta-p/79415 suggests to open a K2 support ticket to fix the issue hence the request. Kindly assist.
 

Diagnoses


Ran Get-SPAuthenticationRealm command and obtain the result as f3fde996-8f2f-4138-8545-cc881dc98d35. Correct GUID format.

Therefore the error is not related to the article below:
http://community.k2.com/t5/K2-blackpearl/quot-Unable-to-retrieve-realm-for-SharePoint-site-quot-error-in/ta-p/79415
 

Resolution

Resolved the issue by setting the SharePoint site collection to use Claims authentication instead of classic windows authentication.




 
what commands were run to "set the SharePoint site collection to use Claims authentication instead of classic windows authentication." neither 1. convert database to claims $wa = Get-SPWebApplication http://yourWebAppUrl $acc = ‘domainuser’ $arguments = New-Object Microsoft.SharePoint.Administration.SPWebApplication+SPMigrateUserParameters #based on scenario above, content DB 0 is the one that was created with the web app, so 1 is the DB that was added with Mount-SPContentDatabase $arguments.AddDatabaseToMigrate($wa.ContentDatabasesa1]) $wa.MigrateUsersToClaims($acc, $true, $arguments) 2. Convert-SPWebApplication -Identity "https://apps.denallix.com/" -From Legacy -To Claims -RetainPermissions -Force

Reply