{"id":2814,"date":"2020-03-05T15:53:54","date_gmt":"2020-03-05T14:53:54","guid":{"rendered":"https:\/\/www.itidea.nl\/?p=2814"},"modified":"2020-03-05T16:05:56","modified_gmt":"2020-03-05T15:05:56","slug":"list-all-site-collections-with-app-catalog-enabled","status":"publish","type":"post","link":"https:\/\/www.itidea.nl\/index.php\/list-all-site-collections-with-app-catalog-enabled\/","title":{"rendered":"List all site collections with app catalog enabled"},"content":{"rendered":"\n<p>This information is published on the world wide web but I find myself looking it up all the time. So for my own convenience: <\/p>\n\n\n\n<p>To list all site collections in the tenant that have the <a href=\"https:\/\/docs.microsoft.com\/en-us\/sharepoint\/dev\/general-development\/site-collection-app-catalog#configure-and-manage-site-collection-app-catalogs\">site collection app catalog<\/a> enabled, use the URL<code>:<\/code><\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p> https:\/\/&lt;tenant-app-catalog-URL&gt;\/Lists\/SiteCollectionAppCatalogs\/AllItems.aspx <\/p><\/blockquote>\n\n\n\n<p>Or with PowerShell:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n$appCatalog = Get-PnPTenantAppCatalogUrl\nConnect-PnPOnline -Url $appCatalog -Credentials DevAdmin\n\n$items = Get-PnPListItem -List &quot;Site Collection App Catalogs&quot;\n$count = 1\nforeach($item in $items){\n\tWrite-host $count &quot;-&quot; $item.FieldValues.Item(&quot;SiteCollectionUrl&quot;)\n\t$count = $count + 1 \n}\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>This information is published on the world wide web but I find myself looking it up all the time. So for my own convenience: To list all site collections in the tenant that have the site collection app catalog enabled, &#8230; <a class=\"more-link\" href=\"https:\/\/www.itidea.nl\/index.php\/list-all-site-collections-with-app-catalog-enabled\/\">Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[39,22,41],"tags":[37,43,46],"class_list":["post-2814","post","type-post","status-publish","format-standard","hentry","category-office-365","category-powershell","category-sharepoint","tag-office365","tag-powershell","tag-sharepoint"],"_links":{"self":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/2814","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/comments?post=2814"}],"version-history":[{"count":5,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/2814\/revisions"}],"predecessor-version":[{"id":2819,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/posts\/2814\/revisions\/2819"}],"wp:attachment":[{"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/media?parent=2814"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/categories?post=2814"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itidea.nl\/index.php\/wp-json\/wp\/v2\/tags?post=2814"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}