office 365: sharepoint online 31 may 2014. 2 | sharepoint saturday calgary – 31 may 2014 about me...
TRANSCRIPT
Office 365: SharePoint OnlineJason KaczorSharePoint Consultant/Architect – MVPIllumination Industries Ltd.
SPO - Management & Operations with PowerShell
31 May 2014
2 | SharePoint Saturday Calgary – 31 MAY 2014
About Me – Jason Kaczor
http://jason.kaczor.ca+1(403)827-7276
3 | SharePoint Saturday Calgary – 31 MAY 2014
Session Agenda
Office 365 & SPO Fundamentals Getting Started Basics Scenarios & Tasks Problems & Limitations Extensions Resources Questions & Answers
6 | SharePoint Saturday Calgary – 31 MAY 2014
High-level Office 365 Architecture
Customer Premises
AD
MS Online Directory Sync
Provisioningplatform
LyncOnline
SharePoint Online
Exchange Online
Active Directory Federation Server
2.0
Trust
IdPDirectory
Store
Admin Portal/PowerShell
Authentication platform
IdP
7 | SharePoint Saturday Calgary – 31 MAY 2014
SharePoint Online Administration
Customer Does
Governance
Site Collection
Admin
Site Admin
User Profiles
Apps, Extensibilit
y
Microsoft
Does
Server
Admin
SQL Admin
Central
Admin
External
Access
Backup,
Restore
SPO PowerShell Tooling
Client/Desktop Operating System
Windows Server 2012, Windows Server 2008 R2 SP1, Windows 8, Windows 7 SP1
.NET Framework 4.5
(4.5.2)
Windows Management Framework 3.0
(PowerShell 3.0)
Microsoft Online Services Sign-in Assistant for IT Professionals RTW
All Latest OS Updates
Windows Azure AD Module for Windows PowerShell 32-bit
SharePoint Online Management Shell
Windows Azure AD Module for Windows PowerShell 64-bit
10 | SharePoint Saturday Calgary – 31 MAY 2014
SPO PowerShell Configuration Set-ExecutionPolicy
Run-As Administrator
13 | SharePoint Saturday Calgary – 31 MAY 2014
Connecting to SPO
Connect-SPOService Connects to SharePoint Online -Url – URL to SharePoint Online tenant
administration i.e.: https://mytenant-admin.sharepoint.com
-Credential – complete username of a global administrator i.e.: [email protected] –Url https://mytenant-
admin.sharepoint.com –Credential [email protected]
14 | SharePoint Saturday Calgary – 31 MAY 2014
Available SPO commands
get-command -noun spo* | Group Noun SPOUser {Add-SPOUser, Get-SPOUser, Remove-SPOUser, Set-SPOUser} SPOService {Connect-SPOService, Disconnect-SPOService} SPOAppErrors {Get-SPOAppErrors} SPOAppInfo {Get-SPOAppInfo} SPODeletedSite {Get-SPODeletedSite, Remove-SPODeletedSite, Restore-SPODeletedSite} SPOExternalUser {Get-SPOExternalUser, Remove-SPOExternalUser} SPOSite {Get-SPOSite, New-SPOSite, Remove-SPOSite, Repair-SPOSite...} SPOSiteGroup {Get-SPOSiteGroup, New-SPOSiteGroup, Remove-SPOSiteGroup, Set-SPOSiteGroup} SPOTenant {Get-SPOTenant, Set-SPOTenant} SPOTenantLogEntry {Get-SPOTenantLogEntry} SPOTenantLogLastAvaila... {Get-SPOTenantLogLastAvailableTimeInUtc} SPOWebTemplate {Get-SPOWebTemplate} SPOUpgradeEvaluationSite {Request-SPOUpgradeEvaluationSite}
Index of Windows PowerShell for SharePoint Online cmdlets
15 | SharePoint Saturday Calgary – 31 MAY 2014
Available SPO commands get-command –module Microsoft.Online.SharePoint.PowerShell Connect-SPOService
Disconnect-SPOService
Get-SPOAppErrors Get-SPOAppInfo Get-SPODeletedSite
Add-SPOUser Get-SPOExternalUser Get-SPOUser Remove-
SPOExternalUser Remove-SPOUser Set-SPOUser
Get-SPOSiteGroup Remove-SPOSiteGroup New-SPOSiteGroup Set-SPOSiteGroup
Get-SPOSite New-SPOSite Remove-SPODeletedSite Remove-SPOSite Repair-SPOSite Restore-SPODeletedSite Set-SPOSite Get-SPOWebTemplate Test-SPOSite Upgrade-SPOSite
Request-SPOUpgradeEvaluationSite
Get-SPOTenant Get-SPOTenantLogEntry Get-
SPOTenantLogLastAvailableTimeInUtc Set-SPOTenant
17 | SharePoint Saturday Calgary – 31 MAY 2014
Working with Site Collections
Get-SPOSite Returns one or more site collections -Identity (optional) – URL of site collection -Limit (optional) – number of site collections to
return Default 200, ALL can be used
Get-SPOSiteGet-SPOSite -Detailed
Get-SPOSite –Identity https://mytenant.sharepoint.com
Get-SPOSite –Filter {Url -like “*term*}
18 | SharePoint Saturday Calgary – 31 MAY 2014
Creating new Site Collections New-SPOSite
Creates a site collection -Url – full URL of new site collection -Owner – full user name of site owner
i.e.: [email protected]
New-SPOSite -Url https://mytenant.sharepoint.com/sites/mynewsite -Owner [email protected] -StorageQuota 1000 -Title "My new site collection“ –Template STS#0
19 | SharePoint Saturday Calgary – 31 MAY 2014
Deleting Site Collections
Remove-SPOSite Moves site collection to recycle bin -Identity – URL of site collection Supports –confirm and -NoWait
Remove-SPOSite –Identity http://mytenant.sharepoint.com/sites/sitename -NoWait
20 | SharePoint Saturday Calgary – 31 MAY 2014
Restoring Site Collections
Restore-SPODeletedSite Restores a site collection from the recycle bin -Identity – URL of site collection
Restore-SPODeletedSite –Identity http://mytenant.sharepoint.com/sites/sitename -NoWait
21 | SharePoint Saturday Calgary – 31 MAY 2014
Modifying Site Collections
Set-SPOSite Sets or updates properties of a site collection -Identity – URL of site collection
Set-SPOSite –Identity http://mytenant.sharepoint.com/sites/sitename -NoWait
22 | SharePoint Saturday Calgary – 31 MAY 2014
Upgrading Site Collections
Test-SPOSite -Identity – URL of site collection
Upgrade-SPOSite -Identity – URL of site collection -V2VUpgrade – Required to do a version
upgrade
Test-SPOSite -Identity http://mytenant.sharepoint.com/sites/sitenameUpgrade-SPOSite -Identity http://mytenant.sharepoint.com/sites/sitename -V2VUpgrade
23 | SharePoint Saturday Calgary – 31 MAY 2014
Working with Users Get-SPOUser
-Site – full URL of site collection
Add-SPOUser Adds existing user to a SharePoint Group -Site – full URL of site collection -LoginName – specific user account name -Group – SharePoint group
Get-SPOUser -Site https://mytenant.sharepoint.com -LoginName [email protected] Add-SPOUser -Site https://mytenant.sharepoint.com -LoginName [email protected] -Group "Team Site Members“
24 | SharePoint Saturday Calgary – 31 MAY 2014
Working with External Users
Get-SPOExternalUser
Remove-SPOExternalUser
$user = Get-SPOExternalUser -Filter [email protected] -UniqueIDs @($user.UniqueId)
25 | SharePoint Saturday Calgary – 31 MAY 2014
Logs
Get-SPOTenantLogLastAvailableTimeInUtc
Get-SPOTenantLogEntry
Get-SPOAppErrors
28 | SharePoint Saturday Calgary – 31 MAY 2014
Missing functionality…
Administration & manipulation of… Features Properties Content Types Lists, Libraries, Items & Folders Taxonomy, Terms & Managed Metadata Search
30 | SharePoint Saturday Calgary – 31 MAY 2014
Extensions – Gary LaPointe http://blog.falchionconsulting.com/index.php/downloa
ds/ Export-
SPOSearchConfiguration Import-
SPOSearchConfiguration
Get-SPOContextSite Get-SPOWeb New-SPOWeb Remove-SPOWeb Set-SPOWeb Set-SPOWebTheme
Disable-SPOFeature Enable-SPOFeature Get-SPOFeature
Get-SPOFile Get-SPOFolder Get-SPOList New-SPOFile New-SPOList New-SPOListFolder New-SPOListItem Remove-SPOList Set-SPOList
Get-SPOContentType
Get-SPOEventReceiver
Export-SPOTaxonomy
Get-SPOTerm Get-SPOTermGroup Get-SPOTermSet Get-SPOTermStore Import-
SPOTaxonomy New-
SPOTermGroup New-SPOTermSet
31 | SharePoint Saturday Calgary – 31 MAY 2014
Extensions – SPO Automation http://sharepointonlineautomationcmdlets.codeplex.c
om/
AddSPOSolution AddSPDesignPackage
InstallSPOSolution UninstallSPOSolution UpdateSPOSolution
NewSPOWeb GetSPOWeb RemoveAllSPOWebs
ExportMMS SetMMSField
AddSPOListCT NewSPOList RemoveSPOList
SetLookupField PublishSPOFiles PublishSPOFile
ImportSPOListItemsFromCSV
SetSPOListItemField RemoveAllCTFromList
ImportSPOSearchConfig SPOWebClient
InstallSPOWebFeature UnintallSPOFeature InstallSPOSiteFeature UninstallSPOSiteFeature
AddSPONavigationItem ClearSPONavigation GetSPONavigation SetSPONavigationInherits RemoveSPONavigationNodesByN
ame
32 | SharePoint Saturday Calgary – 31 MAY 2014
Resources Office
Introduction to the SharePoint Online Management Shelll
Technet Windows PowerShell for SharePoint Online
Windows PowerShell for SharePoint Command Builder
35 | SharePoint Saturday Calgary – 31 MAY 2014
Special Thanks
SharePoint Training Courses http://www.neweratechnology.com/courses/sharepoint.aspx
Calgary SharePoint User Group
CalSPUG