Install-PnPApp

Matjaz REBERC 1 Reputation point
2022-10-28T06:55:51.15+00:00

Hello,

I have a question about "Install-PnPApp" command.

I have script in Azure function and I am connection using an Azure Active Directory registered application,
Connect-PnPOnline -Url $siteURL -ClientId $appId -Thumbprint $thumbprint -Tenant $tenant

In the next step i wanna Install app from Tennant catalog:
Get-PnPApp -Identity .... | Install-PnPApp

It doesn't give me error, but when i go to site collection, then I see the app is being installed, but it stays in "Installing" step, it never complete installation.

Is it possible to use Install-PnPApp if I connect with Azure Active Directory registered application?

Thank you, Matjaz Reberc

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,628 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Haoyan Xue_MSFT 19,636 Reputation points Microsoft Vendor
    2022-10-31T09:01:37.22+00:00

    Hi @Matjaz REBERC
    It's still stays in "Installing" step?
    Since we cannot reproduce your environment and we can't rule out which is the problem, so it is recommended that you could open a service request in admin center to get further help.


    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