Created
October 28, 2018 03:27
-
-
Save AsishP/620bec2b03589d4cb95d46f2a41465cd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$cred = Get-Credential | |
Connect-SPOService -Url "https://<tenant>-admin.sharepoint.com" -Credential $cred | |
# get a reference to the site collection where the | |
# site collection app catalog should be created | |
$site = Get-SPOSite https://contoso.sharepoint.com/sites/marketing | |
# create site collection app catalog | |
Add-SPOSiteCollectionAppCatalog -Site $site | |
# disable the site collection app catalog | |
Remove-SPOSiteCollectionAppCatalog -Site $site |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment