question

sns1 avatar image
0 Votes"
sns1 asked sns1 edited

App cataog query on SharePoint online site collection

I am planning to deploy SPFx project to Azure DevOps.

Please clarify my below 5 questions:

  1. In Azure DevOps DevOps Do I need to deploy only app cataog at site collection level or tenant level? I see in shraepoint admin centre by default catalog site is there, do I need to enter these in below variables as it is? Please give me one example on how to use variable for catalog site here while declaring app catalog site in the release pipeline? Please find attached screenshot called catalogsite 199997-catalogsite.png I am confused here.


suppose I have 2 app catalog site collection
https://tenant.sharepoint.com/sites/appcatalog ( tenant level)
https://tenant.sharepoint.com/sites/marketing ( site collection level)

here for site collection I have created site collection with name called "marketing" with team site template and added as catalog site using below command
Add-PnPSiteCollectionAppCatalog -site https://contoso.sharepoint.com/sites/marketing

However I don't see marketing site look & feel as not like tenant level app catalog site , why it is so is there any wrong I have done?

  1. If I want to create app catalog site at site collection is there any specific template do I need to follow?

  2. How do I make sure site collection level app catalog is available as expected with out any issues? Please provide me clear steps here.

  3. Do I need to be tenant admin to deploy to site collection level catalog also in DevOps?


office-sharepoint-onlinesharepoint-devoffice-sharepoint-server-customization
catalogsite.png (104.9 KiB)
· 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 @sns1,

I am currently doing some research on this issue, will let you know as soon as possible.

0 Votes 0 ·

1 Answer

TongZhangMSFT-7548 avatar image
0 Votes"
TongZhangMSFT-7548 answered sns1 commented

Hi @sns1,

Based on my research, There is an example about "Implementing a CI/CD Pipeline for your SPFx projects in Azure DevOps" in the article ,you can refer to it.

Please try adding "" to the command, like this: Add-PnPSiteCollectionAppCatalog -Site "https://contoso.sharepoint.com/sites/FinanceTeamsite"

And here is a document about how to create app catalog site collection ,you can follow the steps in the document to create 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.


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.




· 5
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 TongZhang,

So before adding site collection as app catalog, I should create site called "Finance Team site"?

and second question, above task I want to do in self host agent machine, can you please tell me what are the softwares I need to install on the self hosted agent machine?

0 Votes 0 ·

Hi @sns1

Please refer to this document to implement a self-hosted agent. Hope it can help you. Thanks for your understanding and support.


0 Votes 0 ·
sns1 avatar image sns1 TongZhangMSFT-7548 ·

Hi TongZhang,

Iooks like you have missed the document, however to run SPFx scripts, what are the software I should install in the VM (self hosted agent )?

0 Votes 0 ·
Show more comments