Question

After configuring all the necessary services for the app catalog in an on-premises 2019 installation, I've tried to add app to the catalog and received the following error (extracted from ULS):

Caught an exception while updating the properties of SharePoint App package AppCatalog/pnp-script-editor.sppkg. Error: System.UnauthorizedAccessException: <nativehr>0x80070005</nativehr><nativestack></nativestack>Odmowa dostępu.    
 at Microsoft.SharePoint.SPGlobal.HandleUnauthorizedAccessException(UnauthorizedAccessException ex, Boolean allowCompleteRequest)    
 at Microsoft.SharePoint.Library.SPRequest.AddUrl(String bstrWebUrl, StorePath bstrItemUrl, Boolean bOverwrite, Int32 iUserId, Guid& pgOriginatorId, String& pbNewETag)    
 at Microsoft.SharePoint.SPFolderCollection.AddInternalCore(SPResourcePath strUrl, Int32 userId, Boolean overwrite, Guid originatorId, String& newETag)    
 at Microsoft.SharePoint.SPFolderCollection.Add(String url)    
 at Microsoft.SharePoint.ClientSideComponent.SPClientSideThirdPartyComponentProvider.WriteComponents(SPAppPackage package, Boolean isEnabled, Boolean skipFeatureDeployment)    
 at Microsoft.SharePoint.ClientSideComponent.SPClientSideThirdPartyComponentProvider.WriteComponents(SPListItem itemPackage)    
 at Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SPCorporateCatalogEventReceiver.HandleWriteComponent(SPListItem listItem)    
 at Microsoft.SharePoint.Marketplace.CorporateCuratedGallery.SPCorporateCatalogEventReceiver.HandleItemAddedOrUpdated(SPListItem listItem, Boolean categoryChanged, Boolean addingPackage, Boolean isDeploying, Boolean beforeIsDeployed, Boolean beforeIsCurrentVersionDeployed)

so it seems that perhaps some service (the one which performs the installation) has not enough permissions - but which service and permissions to what?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top