question

nileshkodulkar-3248 avatar image
0 Votes"
nileshkodulkar-3248 asked RobWindsor-4651 commented

SharePoint server 2019 SPFx app deployment: Unable find app

Hello,

I am using SharePoint server 2019 and I have followed this article to develop "Helloworld" app but I am unable to find app in Site contents-> Add an app -> Apps from your organization. Can someone assist me with this pls?



Regards,
Nilesh

office-sharepoint-server-development
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @nileshkodulkar-3248,
I am currently doing some research on this issue, will let you know as soon as possible.

1 Vote 1 ·
TongZhangMSFT-7548 avatar image
0 Votes"
TongZhangMSFT-7548 answered TongZhangMSFT-7548 commented

Hi @nileshkodulkar-3248,
According to my research and testing, please check the permissions of the current user , you need to verify that the user account that is performing this procedure is a member of the site Owners group.

Here is some documentation on how to "Upload app to App Catalog", and "add an app from an App Catalog to SharePoint site" , you can refer to.

Reference:
https://docs.microsoft.com/en-us/sharepoint/administration/manage-the-app-catalog#add-apps-to-the-app-catalog
https://docs.microsoft.com/en-us/sharepoint/administration/add-apps-for-sharepoint-to-a-sharepoint-site


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.




· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @TongZhangMSFT-7548 , Logged in user is part of site owners group but unable to find an app in "add an app" action.

0 Votes 0 ·

Hi @nileshkodulkar-3248,

I agree with RobWindsor-4651's answer, please check whether the package is upload correctly to App Catalog ,and check the development environment, SharePoint Server 2019 need uses the SharePoint Framework (SPFx) v1.4.1.

Reference Documents:
Upload ShortPoint SPFx to App Catalog

Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


0 Votes 0 ·
RobWindsor-4651 avatar image
0 Votes"
RobWindsor-4651 answered RobWindsor-4651 commented

A couple things to check.

When you scaffolded the web part using the Yeoman Generator, you were asked, Do you want to allow the tenant admin the choice of being able to deploy the solution to all sites immediately without running any feature deployment or adding apps in sites?. The article instructs you to answer No to this question. However, if you answered Yes, your web part may be available without having to install the app from Site Contents. Take a look and see if it available in the web part toolbox.

193931-image.png

193848-image.png

The second thing to check is whether your package deployed correctly to the app catalog. In the screen capture below, notice that to the right of the dialog there are columns in the list view for Enabled, Valid App Package, Deployed, and App Package Error Message. Please confirm that you see the following values for those properties for the package that contains your web part. If you see different values, particularly in the App Package Error Message column, then it's likely there were issues with the package deployment.

Enabled: Yes
Valid App Package: Yes
Deployed: Yes
App Package Error Message: No errors

193893-image.png



image.png (52.0 KiB)
image.png (29.9 KiB)
image.png (39.7 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @RobWindsor-4651 ,

Thanks for the reply!
I could see and able to add the webpart on page when scaffolding is done with option as "Yes" for the question Do you want to allow the tenant admin the choice of being able to deploy the solution to all sites immediately without running any feature deployment or adding apps in sites?
However I am stuck when option "No" is selected for the same question above. These are the values for me when upload an app in app catalog:
Enabled: Yes
Valid App Package: Yes
Deployed: Yes
App Package Error Message: No errors

0 Votes 0 ·
RobWindsor-4651 avatar image RobWindsor-4651 nileshkodulkar-3248 ·

Can you provide more detail on what you mean by "stuck"? Is it the same issue you described in your original question (i.e. you can't see the app when you try to add it to the site)?

0 Votes 0 ·

Yes, That's correct.

0 Votes 0 ·
Show more comments