SharePoint Server 2019 - App Installation - Stucked on Install status

Marc Oo 40 Reputation points
2023-04-19T12:20:49.15+00:00

Hello, I'm trying to put into place a modern search webpart in a preprod SPServer2019 environment. We've found a .sppkg that does the job and installed it on the dev env. The app works. When it came to preprod env, we had to create an appcatalog (with its app management service and subscription settings services application). We've uploaded the package into the catalog and it's been deployed properly. Then, we went to add the app to the site where we want it to run, and that's when the issue occurs : the app stays greyed-out in the site contents forever : app_into_site_content

and it's stucked on install status (shown with get-spappinstance -web 'http://mysite'): get-spappinstance_return

I've checked that the services (Sharepoint Timer and Administration) on both farm servers are running, i've configured the app urls and followed MS Learn procedure step by step. That's the third day I'm getting stucked on it, and it starts to get on the nerves of the people i have to explain why nothing happens, so i kinda need help and I can't find that much information on the net, plus i'm totally new to sharepoint server.

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,244 questions
{count} votes

Accepted answer
  1. Yanli Jiang - MSFT 21,616 Reputation points Microsoft Vendor
    2023-04-21T03:00:26.9633333+00:00

    Hi @Marc Oo ,

    Great to know that and thanks for sharing the update here.

    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others.". and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:

    [SharePoint Server 2019 - App Installation - Stucked on Install status]

    Issue Symptom:

    Hello, I'm trying to put into place a modern search webpart in a preprod SPServer2019 environment. We've found a .sppkg that does the job and installed it on the dev env. The app works. When it came to preprod env, we had to create an appcatalog (with its app management service and subscription settings services application). We've uploaded the package into the catalog and it's been deployed properly. Then, we went to add the app to the site where we want it to run, and that's when the issue occurs : the app stays greyed-out in the site contents forever : app_into_site_content

    and it's stucked on install status (shown with get-spappinstance -web 'http://mysite'): get-spappinstance_return

    I've checked that the services (Sharepoint Timer and Administration) on both farm servers are running, i've configured the app urls and followed MS Learn procedure step by step. That's the third day I'm getting stucked on it, and it starts to get on the nerves of the people i have to explain why nothing happens, so i kinda need help and I can't find that much information on the net, plus i'm totally new to sharepoint server.

    Current status:

    I've allready checked permissions and services, aswell as investigating ULS. I've noticed a timerJob named App Installation Service that is responsible to install/uninstall apps on SharePoint. So, I had to make this job running and it solved the issue.

    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks for your understanding!

    1 person found this answer helpful.
    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Yanli Jiang - MSFT 21,616 Reputation points Microsoft Vendor
    2023-04-20T08:43:03.11+00:00

    Hi @Marc Oo ,

    Please check as following to narrow down your issue:

    Does the account you are using have permission?

    Stop and restart the service (SharePoint Timer and Administration).

    Run the SharePoint Configuration Wizard on your server.

    Check your ULS log to see whether there are some information about the cause.

    Thank you!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  2. Marc Oo 40 Reputation points
    2023-04-20T11:54:20.4666667+00:00

    Hello, and thx for considering my request. I've restarted the mentionned services with no luck, and i ve checked the logs. The accounts I'm using to add apps on catalog and add apps on the site are ok (note : you must have a user account to add apps on site, system account don't let you add apps on site) with the correct permissions. I kept investigating what would cause the issue, and I put the finger on timer jobs. App Installation Service Timer Job seems to be responsible of installing and uninstalling apps, it occurs that this guy don't want to run on the preprod env : app_installation_service_timer_job

    Property shows that this timer job is a child of SPTimerServiceSPTimerV4 which I've read cause some issues on Sharepoint. So I'm gonna follow this clue and hope to find a way to force running this job. Actually i've tried manually in the central admin, and with the powershell method RunNow() with no luck, so I think there's something preventing that job to run properly. I'll keep trying around this way to find a solution.

    0 comments No comments

  3. Marc Oo 40 Reputation points
    2023-04-20T13:33:59.6866667+00:00

    Hello, and thx for considering my problem. I've allready checked permissions and services, aswell as investigating ULS. I've noticed a timerJob named App Installation Service that is responsible to install/uninstall apps on SharePoint. After comparison between the two environments I've noticed the one on the preprod is not running at all : app_installation_service_timer_job

    So, I had to make this job running and it solved the issue. Thx for your time

    0 comments No comments

  4. Jack Zhu 0 Reputation points
    2023-07-20T15:04:34.31+00:00

    I am having the same issue in one of our SharePoint 2016 environment (on-premise).

    When adding any apps from SharePoint Store we just got "We're adding your app" and then got stuck. I noticed that the "app installation service" timer job went into "Paused" status since July 1st.

    I have tried various ways to get "app installation service" timer job out of "Paused" status but had no luck.

    . I have tried clicking Disable/Enable and then "Run Now" to force running the timer job
    . Restart SPTimerV4 and SPAdminV4 service
    . Clear the configuration cache under C:\ProgramData\Microsoft\SharePoint\Config and reboot the server|
    . I tried turning the log level to VerboseEx, rerun the timer job and add the app but no useful information can be find from the SharePoint log.