When I want to add Custom SharePoint 2019 App from "All you can add" - Got error

Frequent Contributor

Hi,

When I want to add Custom SharePoint 2019 App from "All you can add" - Got  the following error. Is there any idea on it. Thanks for everyone to help.

-----------------------------------------------------------------------------------------------------------------

Application error when access /_layouts/15/addanapp.aspx, Error=The System Account cannot perform this action. 
 at Microsoft.SharePoint.Administration.SPAppAdministrationSecurityContext.ThrowIfSystemAccountIsNotAllowedAppOperations(SPUser user)   
 at Microsoft.SharePoint.Administration.SPApp.CreateAppInstance(SPWeb web, CultureInfo installationLocale)   
 at Microsoft.SharePoint.Utilities.MarketplaceUtilities.InstallAppSynchronously(SPWeb web, Stream appStream, String oauthAppId, Guid productId, Boolean isUpgrade, CultureInfo installationCulture, SPAppSource source)   
 at Microsoft.SharePoint.Utilities.MarketplaceUtilities.TriggerAppInstall(SPWeb web, String appCatalogId, SPAppMetadataCatalogType appCatalog, String oauthAppId, Boolean isUpgrade, CultureInfo installationCulture)   
 at Microsoft.SharePoint.ApplicationPages.StorefrontBase.AppDownload(Boolean isUpgrade, Boolean autoRedirect)   
 at Microsoft.SharePoint.ApplicationPages.StorefrontBase.Render(HtmlTextWriter writer)   
 at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)   
 at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

1 Reply