SharePoint 2019 My site not working

The Fallen 1 Reputation point
2020-08-05T22:15:48.543+00:00

Hi,

New SharePoint 2019 farm - My site gives the following error
getting the same error for both test user account and farm account.

Something went wrong
Technical Details
SharePoint returned the following error: The remote server returned an error: (401) Unauthorized. Contact your system administrator for help in resolving this problem.

ULS logs

Failed to create site (URL+Useraccount): Microsoft.SharePoint.SPException: Cannot complete this action. Please try again. ---> System.Runtime.InteropServices.COMException: Cannot complete this action. Please try again.<nativehr>0x80004005</nativehr><nativestack></nativestack>

at Microsoft.SharePoint.Library.SPRequestInternalClass.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId)

at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId) -

-- End of inner exception stack trace ---
at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)
at Microsoft.SharePoint.Library.SPRequest.ApplyWebTemplate(String bstrUrl, String bstrWebTemplateContent, Int32 fWebTemplateContentFromSubweb, Int32 fDeleteGlobalListsWithWebTemplateContent, Int32 fIgnoreMissingFeatures, String& bstrWebTemplate, Int32& plWebTemplateId)
at Microsoft.SharePoint.SPWeb.ProvisionWebTemplate(SPWebTemplate webTemplate, String webTemplateToUse, SPFeatureWebTemplate featureWebTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection1& featureDependencyErrors) at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(SPWebTemplate webTemplate, Page page, SPFeatureDependencyErrorBehavior featureDependencyErrorBehavior, ICollection1& featureDependencyErrors)
at Microsoft.SharePoint.SPWeb.ApplyWebTemplate(String strWebTemplate)
at Microsoft.SharePoint.Administration.SPSiteCollection.AddInternal(SPSiteCollectionAddParameters param)
at Microsoft.SharePoint.Administration.SPSiteCollection.Add(SPSiteCollectionAddParameters param)
at Microsoft.SharePoint.SPSite.SelfServiceCreateSite(SPSiteCollectionAddParameters param)
at Microsoft.Office.Server.SiteProvisioning.SiteProvisioningManager`1.<>c__DisplayClass33.<CreateSiteCore>b__32().

Not sure if we are missing any dependency feature or missing any permission. Any suggestions ?

Thanks in advance

SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,573 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,798 questions
{count} votes

1 answer

Sort by: Most helpful
  1. ChelseaWu-MSFT 6,316 Reputation points
    2020-08-06T06:30:10.317+00:00

    Do you have trouble accessing Central Administration or other site collections in this farm?

    Please check as following for basic troubleshooting:

    1. Make sure SharePoint is not blocked by firewall or antivirus on your machine.
    2. Refer to this document to configure My Site for SharePoint Server 2019: Configure My Sites in SharePoint Server.
      And quoting this document:

    Because My Sites have dependencies on other service applications and features in SharePoint Server, ensure that you meet the prerequisites in this section before you perform the procedures in this task.

    1. Make sure you do not use System Account as a managed account to run the services application pool in IIS.
      Also give your farm account Full Control permission to the User Profile Service Application in CA and then test again.
      15939-annotation-2020-08-06-142315.png