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

%3CLINGO-SUB%20id%3D%22lingo-sub-822024%22%20slang%3D%22en-US%22%3EWhen%20I%20want%20to%20add%20Custom%20SharePoint%202019%20App%20from%20%22All%20you%20can%20add%22%20-%20Got%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-822024%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%3CFONT%3EWhen%20I%20want%20to%20add%20Custom%20SharePoint%202019%20App%20from%20%22All%20you%20can%20add%22%20-%20Got%26nbsp%3B%20the%20following%20error.%20Is%20there%20any%20idea%20on%20it.%20Thanks%20for%20everyone%20to%20help.%3C%2FFONT%3E%3C%2FP%3E%3CP%3E-----------------------------------------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E%3CFONT%3EApplication%20error%20when%20access%20%2F_layouts%2F15%2Faddanapp.aspx%2C%20Error%3DThe%20System%20Account%20cannot%20perform%20this%20action.%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3Bat%20Microsoft.SharePoint.Administration.SPAppAdministrationSecurityContext.ThrowIfSystemAccountIsNotAllowedAppOperations(SPUser%20user)%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3Bat%20Microsoft.SharePoint.Administration.SPApp.CreateAppInstance(SPWeb%20web%2C%20CultureInfo%20installationLocale)%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3Bat%20Microsoft.SharePoint.Utilities.MarketplaceUtilities.InstallAppSynchronously(SPWeb%20web%2C%20Stream%20appStream%2C%20String%20oauthAppId%2C%20Guid%20productId%2C%20Boolean%20isUpgrade%2C%20CultureInfo%20installationCulture%2C%20SPAppSource%20source)%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3Bat%20Microsoft.SharePoint.Utilities.MarketplaceUtilities.TriggerAppInstall(SPWeb%20web%2C%20String%20appCatalogId%2C%20SPAppMetadataCatalogType%20appCatalog%2C%20String%20oauthAppId%2C%20Boolean%20isUpgrade%2C%20CultureInfo%20installationCulture)%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3Bat%20Microsoft.SharePoint.ApplicationPages.StorefrontBase.AppDownload(Boolean%20isUpgrade%2C%20Boolean%20autoRedirect)%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3Bat%20Microsoft.SharePoint.ApplicationPages.StorefrontBase.Render(HtmlTextWriter%20writer)%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3Bat%20System.Web.UI.Control.RenderControlInternal(HtmlTextWriter%20writer%2C%20ControlAdapter%20adapter)%26nbsp%3B%26nbsp%3B%26nbsp%3B%3CBR%20%2F%3E%26nbsp%3Bat%20System.Web.UI.Page.ProcessRequestMain(Boolean%20includeStagesBeforeAsyncPoint%2C%20Boolean%20includeStagesAfterAsyncPoint)%3C%2FFONT%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-822024%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-837673%22%20slang%3D%22en-US%22%3ERe%3A%20When%20I%20want%20to%20add%20Custom%20SharePoint%202019%20App%20from%20%22All%20you%20can%20add%22%20-%20Got%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-837673%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F180999%22%20target%3D%22_blank%22%3E%40Will%20%23%20_________%20H%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESeems%20like%20an%20issue%20using%20an%20on-prem%20SharePoint%20admin%20account.%20I%20found%20these%20articles%20which%20seem%20to%20relate%20to%20your%20issue%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsocial.msdn.microsoft.com%2FForums%2Fen-US%2F5eff54c9-36c6-41d1-9ddd-dd76680ace5f%2Ferror-occurred-in-deployment-step-install-app-for-sharepoint-the-system-account-cannot-perform%3Fforum%3Dsharepointdevelopment%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsocial.msdn.microsoft.com%2FForums%2Fen-US%2F5eff54c9-36c6-41d1-9ddd-dd76680ace5f%2Ferror-occurred-in-deployment-step-install-app-for-sharepoint-the-system-account-cannot-perform%3Fforum%3Dsharepointdevelopment%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fsharepoint.stackexchange.com%2Fquestions%2F80812%2Ferror-occurred-in-deployment-step-uninstall-app-for-sharepoint-the-system-acc%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsharepoint.stackexchange.com%2Fquestions%2F80812%2Ferror-occurred-in-deployment-step-uninstall-app-for-sharepoint-the-system-acc%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
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