Forum Discussion

davidpetree1's avatar
davidpetree1
Iron Contributor
Jul 20, 2016

MobileExcelWebAccess Feature -Site Template Error

Looks like there is a small issue going on right now when tyrign to create a site from a Template. Users are getting the error below.

 

This has been confimred by a few tenants on http://answers.microsoft.com/en-us/msoffice/forum/msoffice_sharepoint/mobileexcelwebaccess-feature/dc638315-a06c-48c7-9064-d10e27ce8cf4?auth=1&rtAction=1469040791991

 

 

 

 

 

26 Replies

  • David,

    We had this issue with our Project Online site collection.

    Joanne LaRose script supplied by Microsoft Support fixes this issue as a workaround to create the site.

     

    The main reason for this issue is that the “MobileExcelWebAccess” feature has been deprecated.

    • Just a work mate pointed me out to this thread I didn't remember...very funny to see that the script provided by Microsoft is indeed a script I posted in the TechNet Script Gallery
  • Joanne LaRose's avatar
    Joanne LaRose
    Brass Contributor

    I just got off the phone with Microsoft regarding this issue. They provided me with a script that i will post below. Prior to running the script run Powershell online Management Shell as Administrator, download and install SharePoint Online Client Components SDK:

    https://www.microsoft.com/en-us/download/confirmation.aspx?id=42038

    Copy the Feature ID from the error message

    Then copy paste the script in the following reply (due to 20k char limit)(Modify with your info as noted)

     

    • Joanne LaRose's avatar
      Joanne LaRose
      Brass Contributor

      I just got off the phone with Microsoft regarding this issue. They provided me with a script that i will post below. Prior to running the script run Powershell online Management Shell as Administrator, download and install SharePoint Online Client Components SDK:

      https://www.microsoft.com/en-us/download/confirmation.aspx?id=42038

      Copy the Feature ID from the error message

      Then copy paste the following script (Modified with your info as noted):

      $host.Runspace.ThreadOptions = "ReuseThread"

      #Definition of the function that allows to enable a SPO Feature

      function Enable-SPOFeature

      {

      param ($sSiteColUrl,$sUserName,$sPassword,$sFeatureGuid)

      try

      {

      #Adding the Client OM Assemblies

      Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll"

      Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"

      #SPO Client Object Model Context

      $spoCtx = New-Object Microsoft.SharePoint.Client.ClientContext($sSiteColUrl)

      $spoCredentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($sUsername, $sPassword)

      $spoCtx.Credentials = $spoCredentials

      Write-Host "----------------------------------------------------------------------------" -foregroundcolor Green

      Write-Host "Enabling the Feature with GUID $sFeatureGuid !!" -ForegroundColor Green

      Write-Host "----------------------------------------------------------------------------" -foregroundcolor Green

      $guiFeatureGuid = [System.Guid] $sFeatureGuid

      $spoSite=$spoCtx.site

      $spoSite.Features.Add($sFeatureGuid, $true, [Microsoft.SharePoint.Client.FeatureDefinitionScope]::None)

      $spoCtx.ExecuteQuery()

      $spoCtx.Dispose()

      }

      catch [System.Exception]

      {

      write-host -f red $_.Exception.ToString()

      }

      }

      • Edelle Tee's avatar
        Edelle Tee
        Copper Contributor

        Hello Joanne, 

         

        Just to update this article. Yes, it did resolved the issue. Thank you so much for sharing your knowledge regarding on this one. 

         

        Regards,
        Edelle

  • How those templates were created? I assume using the "Save as template" option what it's one of the source casues of this kind of problems

    • davidpetree1's avatar
      davidpetree1
      Iron Contributor

      Yea, i understand how they were created could make it not work, but also remember, the templates have been working fine for a while now. Please read the link on Answers and you will see a few others are seeing this all at one time. And the templets use to work fine.

      • davidpetree1's avatar
        davidpetree1
        Iron Contributor
        PS. Microsoft did put out a SI yesterday on this. Its in the Service Health Dashboard now

        SP72910

Resources