Forum Discussion

Paul_Mather's avatar
May 31, 2022

Installing new SharePoint Provider Hosted Add-ins to new tenants - "The operation took too long"

Hey,

Has something changed in SharePoint Online within the last week with SharePoint add-ins? Since around Thursday last week, all SharePoint provider hosted add-ins fail to install with an error "The operation took too long":

If the add-in has previously been installed on the tenant then you want to add the add-in to a new site collection on the same tenant, that works fine. It doesn't work if the add-in is going into a tenant for the first time.

Has anyone else seen this issue?
Many thanks
Paul

30 Replies

  • Hey all,

    It does seem that Microsoft have now finally resolved this issue.

    Paul 

  • Sid_Clemens's avatar
    Sid_Clemens
    Copper Contributor
    This morning I tried to deploy our add-in to a newly created dev site on our sharepoint tenant and it worked seamless. I haven't tried removing it from a site and deploying to the same site again.

    Can anyone verify their issues are resolved as well?
    • Matthias Walter's avatar
      Matthias Walter
      Copper Contributor

      Sid_Clemens Paul_Mather

      Hi guys, I had the same issue for the last couple of days. But this morning when I clicked on retry, it worked just fine.

      Looks like they've fixed something.

  • Xavi Reig's avatar
    Xavi Reig
    Copper Contributor
    I'm having this same issue on two tenants. The only message we get is "The operation took too long". One of them was actually installed fine just last week and today it failed during the reinstall of the add-in. Please Microsoft we need a solution to this.
    • Paul_Mather's avatar
      Paul_Mather
      MVP

      Hi Xavi Reig ,

      Have you opened a support ticket with Microsoft? If not, please do so to get the visibility this issue needs within Microsoft. 

      • Xavi Reig's avatar
        Xavi Reig
        Copper Contributor

        hey Paul_Mather, yeah I opened two separate tickets and I actually got a response already in one of them: "After consulting with my back end team, it appears this feature has been temporarily removed while we make improvements to the interface. Not to worry though, it will be returning in the next security patch."

         

        I've asked for an ETA.

  • Enric Carrión's avatar
    Enric Carrión
    Copper Contributor
    Same issue here for a couple of tenants, one of them just created a few days ago and the other one created a few weeks ago.
    Error "The operation took too long.", no matter if I unregister and register the add-in again, or recreate the site collection where I'm trying to activate it.
    The same add-in is working perfectly in many other tenants and can be add it to them, too.
    Raised a ticket a few hour ago and I have already been contacted, but got no diagnostic so far.
    • Paul_Mather's avatar
      Paul_Mather
      MVP

      Thanks Enric Carrión ,

      This is the same issue we are seeing. Our SharePoint client IDs and secrets are created via the Microsoft Seller Dashboard, is this the same for you? 

      My case has been open with Microsoft since 30th May and still no progress. 

      • Enric Carrión's avatar
        Enric Carrión
        Copper Contributor

        Hey Paul_Mather, no, we generate a random dynamic secret during the installation of our add-in. And client ID is always the same. The add-in is working perfectly in other tenants and it hasn't been modified at all since long ago. Let's see if we get some answers...

  • Sid_Clemens's avatar
    Sid_Clemens
    Copper Contributor
    I seem to be having the same issue. I'm trying to deploy an add-in to various dev sites and they all give this error. I tried fully deleting the registered add-in from older dev sites that already had a version working, then tried to deploy it via Visual Studio. This also gave the same error.

    Has anyone been able to fix this?
      • Sid_Clemens's avatar
        Sid_Clemens
        Copper Contributor
        Hi Paul,

        My previous experiences with Microsoft Products were rather seamless. Could you provide the correct support place to do so? I've tried searching for the correct form or site but they all seem generic and end-user related.

        Hope you can assist!
    • Dominik_Marin's avatar
      Dominik_Marin
      Copper Contributor

      We are having the same issue. The issue also occurs when trying to deploy an Add-In from Visual Studio. It hangs in the installation step of the Add-In in SharePoint. Right now there's no way to continue to debug our Apps, including very critical applications for DAX 100 companies..

    • Paul_Mather's avatar
      Paul_Mather
      MVP

      That's great you've raised it Padmanaban_Jayaraman, all we can do it all raise support tickets to get this issue noticed. Anyone else who has this issue - please open a support ticket as soon as you can. 

      • ChrisbChicken's avatar
        ChrisbChicken
        Copper Contributor
        We have the same issue. Started around 4pm CST 6/1/22. It works when we test on a different tenant, so it seems to be tenant specific. We've opened a MS ticket and they're digging into it.
  • IainL-Betasoft's avatar
    IainL-Betasoft
    Copper Contributor

    Paul_Mather I have the same issue, tried different tenants and different computers. Its completely stopped our development flow. 

Resources