Online Conference June 17 th and 18 th 2015 WWW.COLLAB365.EVENTS SharePoint Online Administration with PowerShell.

Slides:



Advertisements
Similar presentations
Reinventing using REST. Anything addressable by a URI is called a resource GET, PUT, POST, DELETE WebDAV (MOVE, LOCK)
Advertisements

SharePoint 2010 Client Side Object Model. Agenda Introduction The Problem Client side vs Server Side Client Side Object Model – How it works – What can.
Configuring SharePoint 2013 and Office 365 Hybrid – Part 1
Implementing enterprise governance can sometimes feel like trying to corral an exuberant crowd.
Hybrid Search with SharePoint 2013 and Office 365 Brendan Griffin.
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
1 Chapter 12 Working With Access 2000 on the Internet.
Welcome to the Minnesota SharePoint User Group July 14 th, 2010 Introducing the BCS Raymond Mitchell Meeting # 67.
Office & SharePoint 2010 What's new in Office 2010 for Developers & Microsoft SharePoint 2010 Social Matthew McDermott, MVP Aptillon, Able Blue
Live Meeting APIs Robert Devine Program Manager Microsoft Corporation.
Definitions Collaboration – working together on team projects and sharing information, often through ad-hoc processes, to accomplish project goals. Document.
Intro to Apps Minnesota SharePoint User Group Raymond April 2014.
Mark Kashman Senior Product Manager –
Microsoft Office System UK Developers Conference Radisson Edwardian, Heathrow 29 th & 30 th June 2005.
Share easilyShare responsibly Share with anyone.
Maintaining a Microsoft SQL Server 2008 Database SQLServer-Training.com.
Facebook Like Solution in SharePoint Using JavaScript Amie Seisay
Configuration Management and Server Administration Mohan Bang Endeca Server.
Server-side Scripting Powering the webs favourite services.
©Kwan Sai Kit, All Rights Reserved Windows Small Business Server 2003 Features.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
JourneyTEAM - –
Spicing Up Web Parts Randy Williams SharePoint Hawaii User Group May 11, 2011.
External user invited This creates invitation in Access Request List Invitation sent to guest with invitation URL Guest clicks URL. Verification.
Introduction to Web AppBuilder for ArcGIS: JavaScript Apps Made Easy
Module 7 : Configuration I Jong S. Bok
Using the Right Method to Collect Information IW233 Amanda Murphy.
What's New in Kinetic Calendar 2.0 Jack Boespflug Kinetic Data.
Welcome to the Minnesota SharePoint User Group. Develop and support a local community focused on Microsoft SharePoint Technologies Educate user group.
Dean Anderson Polk County, Oregon GIS in Action 2014 Modifying Open Source Software (A Case Study)
| Basel Building real Business Apps with Office365/Azure Gilbert Nicolet – BPA Solutions SA.
ASP-2-1 SERVER AND CLIENT SIDE SCRITPING Colorado Technical University IT420 Tim Peterson.
Office 365: SharePoint Online 31 May | SharePoint Saturday Calgary – 31 MAY 2014 About Me – Jason Kaczor
Back to Basics A Tour of Microsoft SharePoint. Who am I? Kenny Duenke Lead Systems Analyst RGA
Welcome To Going from SharePoint On Premise to SharePoint Online Speaker: Matthew W. Tallman #SharePointCincy.
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
SharePoint 2007 Business Intelligence October 23 th, 2008 Neil Iversen - Inetium.
Introduction to the Power BI Platform Presented by Ted Pattison.
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Understanding and implementing the remote provision pattern in SharePoint.
Inspirirani ljudima. Ugasite mobitele. Hvala.. Paolo Pialorsi Senior Consultant PiaSys ( Publishing apps for SharePoint 2013 on Microsoft.
Course Agenda Deep Dive into the Building Blocks and Services of the SharePoint Platform Module 1: Developing Advanced Workflow Scenarios in Office 365.
Productivity Architect Meet Chris Bortlik Author, Blogger, Speaker.
Powering up your Office 365 cmdlets with CSOM Bjoern H Rapp, Senior Architect Public Cloud, SopraSteria.
SharePoint Online and PowerShell?
Building an Extranet with Office 365 Without Spending a Ton of Money SharePoint Fest NYC.
ArcGIS for Server Security: Advanced
SharePoint 2007 Business Intelligence
Web Programming Language
Automate Custom Solutions Deployment on Office 365 and Azure
Building Dynamic Applications with the SharePoint Client Object Model
Line of Business Solutions in SharePoint Online
Microsoft
PHP / MySQL Introduction
SharePoint Framework Extensions
Migration to SharePoint 2013
SharePoint Online Development Best Practices
SharePoint-Hosted Apps and JavaScript
Office 365 Development.
Multi-Farm, Cross-Continent SharePoint Architecture
Hybrid Search Technical Guidance.
Introduction to SharePoint Framework (SPFx)
Customizing the SharePoint Mobile Experience
Site scripts and Site Design
SharePoint 2019 Overview and Use SPFx Extensions
PowerShell + SharePoint Online – An Admins Guide to Administration in the O365 Cloud Marrell Sanders – Sr. SharePoint Administrator NACS Branson, MO.
PowerShell + SharePoint Online – An Admins Guide to Administration in the O365 Cloud Marrell Sanders – Sr. SharePoint Administrator SharePoint Saturday.
08 | Configuring SharePoint Online
10/2/ :13 PM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Presentation transcript:

Online Conference June 17 th and 18 th SharePoint Online Administration with PowerShell

S Brendan Griffin Microsoft Twitter Blog: Principal Premier Field Microsoft Microsoft Certified Master – SharePoint 2010 SharePoint-er Since 2004!

S Agenda SharePoint Online Management Shell On-Premises vs. Online Cmdlets Using the Client Side Object Model (CSOM) Real World Examples!

S The Challenge SharePoint administrators rely heavily on PowerShell Office 365 is a $1.5 billion a year business and growing What does the increased adoption of Office 365 mean for traditional SharePoint administrators?

S The Challenge Does No Server Access == No PowerShell? Are we back in the dark ages of GUI based administration?

S The Solution Of course not – A number of PowerShell Cmdlets are available for SharePoint Online! Download the SharePoint Online Management Shell to get started herehere

S SharePoint Online Management Shell So, I’ve installed it – what next? Let’s take a closer look: Focused on Site Collection and User administration tasks

S SharePoint Online Management Shell Includes 41 Cmdlets, which is slightly less than On-Premises!

S O365 vs. On Premises Cmdlets

S SharePoint Online vs. On Premises Cmdlets “I will only need to make minor changes to my scripts” – Brendan Griffin (2013) – Wrong!!! – Cmdlets aren’t functionally equivalent – Have different Methods and Properties – In some cases behave differently

S SharePoint Online vs. On Premises Cmdlets Example: – Get-SPSite returns all Site Collections – Get-SPOSite returns all Site Collections except My Sites In some cases limitations can be addressed using a different approach – more on this later… Let’s take a look at some of the Cmdlets in action…

S SPOL Management Shell – Getting Started Import the Microsoft.Online.SharePoint.PowerShell Module Use Connect-SPOService to connect to the Tenant

S

Get-SPOSite Summary Use the –Detailed parameter with Get-SPOSite if you need the following properties returned: – LockIssue – WebsCount – CompatibilityLevel – AllowSelfServiceUpgrade – ResourceUsageCurrent – ResourceUsageAverage – StorageUsageCurrent Further documentation herehere

S Example: What Sites Do I Have? Inventory all Site Collections and output results to a CSV file using Get- SPOSite

S Example: Who Has Access? List the SharePoint Groups that each user is a member of within a Site Collection using Get-SPOUser

S Example: Configuring External Access Configure the External Sharing Capability for a specific Site Collection Use Set-SPOSite with the SharingCapability parameter, options: – Disabled – ExternalUserAndGuestSharing – ExternalUserSharingOnly

S Example: Auditing External Access Who has access? Where do they have access? Who invited them?

S Site Level Administration Set-SPOSite can be used to: – Change Site Owner – Configure the Storage and Resource Quota – Change the Title

S Site Level Administration Set-SPOSite can also be used to: – Lock a Site – Requests for locked Sites can be redirected to a specific URL – Redirect URL is configurable using Set-SPOTenant -NoAccessRedirectURL

S Tenant Level Settings Get/Set-SPOTenant can be used to retrieve and update Tenant level settings Sometimes the only option!

S How Does this All Work? Get-SPOSite “Under the Covers” Connects to the client.svc WCF service and sends a request as XML

S Under the Covers: Get-SPOSite Response is returned as JSON:

S But, What about x? SharePoint Online Management Shell is great for basic Site Collection and User administration But… – I can do x On-Premises, it doesn’t appear to be possible to do this using the SharePoint Online Management Shell? – I need to do something with Managed Metadata, User Profiles and Search, why isn’t there a Cmdlet?

S CSOM to the Rescue! The Client Side Object Model was introduced in SharePoint 2010 and is available in SharePoint Online Provides a subset of the Server Object Model - can be executed remotely using JavaScript or.NET (PowerShell in this case)

S Getting Started with CSOM Download the SharePoint Online Client Components SDK herehere Includes the DLLs required for CSOM Fire up PowerShell and away we go…

S

CSOM – What Went Wrong? CSOM is different to the Server Side Object Model To minimize data transfer a slightly different approach is used Requests are bundled together and then sent to the server for execution Only when an object has been returned, can it be used

S

CSOM: 4 Steps to Success! 1.Create Variable 2.Load into the Context 3.Execute the Query 4.Use the Variable

S Demo: Using CSOM to Create a Sub-Site

S

But what about Service Applications??? CSOM can also be used with Managed Metadata, Search and User Profiles The relevant assemblies need to be referenced – Microsoft.SharePoint.Client.Taxonomy.dll (Managed Metadata) – Microsoft.SharePoint.Client.Search.dll (Search) – Microsoft.SharePoint.Client.UserProfiles.dll (User Profiles)

S Example: Exporting all User Profiles

S Example: Exporting all User Profiles

S Example: Adding Terms to the Term Store

S Example: Adding Terms to the Term Store

S Example: Adding Terms to the Term Store

S Next Steps… Need to do something else? Refer to the Microsoft.SharePoint.Client namespace documentation on MSDNdocumentation The possibilities are endless (kind of!)

S Next Steps… Office 365 Patterns and Practices (PnP) includes a HUGE number of additional PowerShell Cmdlets, examples include: Office 365 Patterns and Practices – Add/Remove a Content Type – Set a Master Page – Disable/Enable a Feature – Add a Web Part – …the list goes on! My Blog has a number of sample scripts too –

S Next Steps… SharePoint 2013 Client Browser is a great tool to determine the data that can be obtained using CSOM. SharePoint 2013 Client Browser

S …and Finally! Question Time

S Stay tuned for more great sessions …