Code Fix: An error occurs when deploying a package with multiple SharePoint sites when the user does not have rights to one of the sites
KB002262
PRODUCT
Issue Description
When the method “Get Sites” queries all SharePoint sites in the site collection and a user does not have access to some of those sites, a 401 error is presented when attempting to deploy a package via K2 Package and Deployment.
Error Message
The following error occurs: “401 unauthorized”.
Resolution
- Ensure you have K2 Five RTM installed.
- Get the K2 Five RTM FP13 from Regional Support.
- Install the K2 Five RTM FP13 to apply the fix.