This image was selected is show placement and can be replaced with another full slide image. The Amazing World of PowerShell with SharePoint Online (and.

Slides:



Advertisements
Similar presentations
Configuring SharePoint 2013 and Office 365 Hybrid – Part 1
Advertisements

Installing and Configuring SharePoint 2013 on a Test Machine without screwing it up (too badly) Todd Klindt (master install screwer upper)
Todd Klindt Solanite Consulting.  WSS MVP since 2006  Speaker, writer, consultant, Aquarius  Personal Blog
Acceleratio Ltd. is a software development company based in Zagreb, Croatia, founded in Acceleratio specializes in developing high-quality enterprise.
02 | Managing Users, Groups, and Licenses Anthony Steven | Principal Technologist, Content Master Martin Coetzer | Portfolio Architect, Microsoft.
Automating Microsoft Azure with PowerShell MMS Minnesota 2014 Trevor Sullivan and David O’Brien – #MMSMinnesota.
Vienna/Austria Authenticate as entitled user or app for the individual service Authenticate as entitled user for our web portal Decide what.
Introduction to Microsoft Office Web Apps with Jim Mollé Learn iT! Computer Software Training.
Intro to Apps Minnesota SharePoint User Group Raymond April 2014.
Service Overview & Offering Features & Requirements Office 365 Administration | Portals & PowerShell Partner Opportunity.
NMMI Office 365 Hybrid By Bryan Yates NM-Tie Nov 15 th 2013 Hi Dr. NORMA.
How can we set custom domain name for SPO public site Roshan N.Y
Administering Microsoft SharePoint Products and Technologies 2007 Using STSADM Todd Klindt Windows SharePoint Services MVP Solanite Consulting, Inc.
Single Sign-On with Microsoft Azure
SharePoint 2010 Development Environment A Guide to Setup SharePoint 2010 Development Environment on Windows 7 Machine.
Created by: Maria Abrahms Modified Date: Classification: How to get it done Contributing to OpenStack.
Julien “Superman” Stroheker and Nicolas “Batman” Georgeault Negotium
Trevor Sullivan Solution Architect Project Leadership Associates.
Integrating NAV 2013R2 and Office 365 Office 365 Single Sign-on NAV as an app NAV online document store.
POWERSHELL SHENANIGANS KIERAN JACOBSEN HP ENTERPRISE SERVICES.
Microsoft ® Official Course Module 13 Implementing Windows Azure Active Directory.
Online Conference June 17 th and 18 th SharePoint Online Administration with PowerShell.
Copyright © 2006 Pilothouse Consulting Inc. All rights reserved. Profiles and Active Directory Overview User profiles –Import from Active Directory –Creating.
Version 2.0 for Office 365. Day 1 Administering Office 365 Day 2 Administering Office 365 Office 365 Overview & InfrastructureAdministering Lync Online.
Mirek Sztajno SQL Server Security PM
Who is this Todd guy? SharePoint MVP since 2006 Speaker, writer, consultant, Aquarius, former President of Shane Young fan club Personal Blog
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
Automating SharePoint 2010 administration tasks with Power Shell Toni Frankola SharePoint MVP, Croatia
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
Ben Fletcher Mark Rhodes. Windows Management Framework 3.0 Microsoft Online Services Sign-in Assistant All the latest updates Windows Azure AD Module.
Blog PowerShell for Managing Active.
Software services delivering SharePoint, Mobile, and Business Intelligence solutions Understanding and implementing the remote provision pattern in SharePoint.
Martina Grom MVP Office 365 How to (remote) control Office 365 with Azure Toni Pohl MVP Client Dev
Managing Office 365 Identities and Requirements.
Productivity Architect Meet Chris Bortlik Author, Blogger, Speaker.
MCSA Windows Server 2012 Pass Upgrading Your Skills to MCSA Windows Server 2012 Exam By The Help Of Exams4Sure Get Complete File From
Powering up your Office 365 cmdlets with CSOM Bjoern H Rapp, Senior Architect Public Cloud, SopraSteria.
SharePoint Online and PowerShell?
A deep dive into Azure AD B2C
Building AD-SQL-APP Server on AZURE
Todd and Shane talk about SharePoint Administration
What's new in the world of SharePoint development and deployment
Microsoft - Managing Office 365 Identities and Requirements
6/17/2018 5:54 AM OSP322 Getting the best of both worlds, making the most of SharePoint hybrid search solutions Shyam Narayan Microsoft © 2013 Microsoft.
Using Microsoft Identity Manger with SharePoint 2016 to fill the User Profile Sync Gap Max Fritz Senior Systems Consultant Now Micro.
What is SharePoint and why you should care
Azure RMS Deep Dive.
Exam in just 24 hours!!! Pass your exam in first attempt by the help of our latest braindumps
Upgrade your organization to the latest OneDrive sync client
9/11/ :59 PM THR3021 Why Microsoft is updating the new OneDrive sync engine in a different way Hans Brender Cloud Productivity Evangelist Bright.
Think You Know How To Manage Office 365?
Getting Started with the Data ONTAP PowerShell Toolkit
SharePoint Online Management and Control
Deploying Office 365 ProPlus
SharePoint Saturday Omaha April 2016
Office 365 PowerShell Jeremy Sublett.
Hybrid Search Planning Implementation.
Hybrid Search Technical Guidance.
Using PowerShell Magic to Manage Microsoft Office 365
+ GETTING STARTED WITH POWERSHELL FOR OFFICE 365 Vlad Catrinescu
SharePoint Online Hybrid – Configure Outbound Search
12/4/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
SharePoint Permissions Manager
2/27/2019 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
PowerShell + SharePoint Online – An Admins Guide to Administration in the O365 Cloud Marrell Sanders – Sr. SharePoint Administrator NACS Branson, MO.
Tech Ed North America /27/ :04 AM Required Slide
PowerShell + SharePoint Online – An Admins Guide to Administration in the O365 Cloud Marrell Sanders – Sr. SharePoint Administrator SharePoint Saturday.
08 | Configuring SharePoint Online
Presentation transcript:

This image was selected is show placement and can be replaced with another full slide image. The Amazing World of PowerShell with SharePoint Online (and Azure) Todd Klindt, SharePoint MVP Distinguished

2 Who is this Todd Klindt guy? WSS MVP since 2006 Speaker, writer, consultant, Aquarius, has never ridden a mule Personal Blog Company web site Twitter If you’re not already sick of him

3 Agenda PowerShell with SharePoint Online cmdlets PowerShell with Windows Azure cmdlets PowerShell with CSOM

4 PowerShell with SharePoint Online Be prepared for disappointment Allows basic manipulation of SharePoint Online – Users and groups – Tenants – Site Collections Download here

5 Fire It Up! Windows 7 – Download and Install WMF 3.0WMF 3.0 Download and Install SPO Management ShellManagement Shell “Run As Administrator” if you have any problems Import-Module microsoft.online.sharepoint.powershell - DisableNameChecking

6 In All Its Glory 42 cmdlets! All in one module!

7 Get Connected

8 A Word About Credentials Don’t store them in plain text Save to a file – Per user, per machine

9 What Now? Mostly just look around 2 Connect/disconnect cmdlets 5 New/Add/Submit cmdlets 6 Set cmdlets 7 Remove cmdlets 7 Upgrade/repair cmdlets 14 Get cmdlets

10 What’s out there?

11

12 Create a Site Collection

13

14 Windows Azure AD / MSOnline cmdlets Can use Microsoft Online or Azure cmdlets as well Install the Sign-On AssistantSign-On Assistant Install the Azure AD ModuleAzure AD Module Connect to your tenant Add-Module msonline

15 WAAD cmdlets continued… 84 cmdlets Some overlap – User management – Group management Additional stuff – Licensing – Federation – Domains

16 Familiar Friends 16

17 Fun Gotchas 17

18 Don’t Try This At Home 18

19 Real world example Param( [Parameter(Mandatory=$true)] [ValidateNotNullOrEmpty()] [string] $User ) # Add the Active Directory bits and not complain if they're already there Import-Module ActiveDirectory -ErrorAction SilentlyContinue 19

20 # Add the Azure Active Directory module Import-Module MSOnline # Define AD group that is synced to AAD and is used for ODFB audience $syncgroupname = "CloudSync" $syncgroup =Get-ADGroup $syncgroupname 20

21 # Location to AAD Connect manual sync EXE # $syncclient = "C:\Program Files\Microsoft Azure AD Sync\Bin\DirectorySyncClientCmd.exe" # Uncomment for old Azure AD Connect (shame, shame) # Name of the Azure License to apply $license = "reseller-account:ENTERPRISEPACK" 21

22 # Azure AD domain suffix $aadsuffix = “tkdemo.com" # First, add the user to the group Add-ADGroupMember -Identity $syncgroupname -Members $User # Remind them to recompile their SharePoint audience Write-Host "You'll need to recompile your SharePoint audience to reflect the group change" 22

23 # Sync up to Azure AD # & $syncclient # Old, crappy way Start-ADSyncSyncCycle # Now tweak the user in Azure AD # First connect Connect-MsolService # Get the user $aaduser = 23

24 # Set the user's location. Without that the license will fail Set-MsolUser -UserPrincipalName $aaduser -UsageLocation "US" # Set the user's license Set-MsolUserLicense -UserPrincipalName $aaduser -AddLicenses $license 24

25 The Sneaky Way: CSOM with PowerShell Can use the Client Side Object Model with PowerShell to do more Developery, be afraid Copy DLLs from server Or download SharePoint 2013 Client SDKSharePoint 2013 Client SDK

26 Top Of Script

27 Get-SPOweb Examples from: 013/12/Using-CSOM-in-PowerShell-scripts- with-Office365.html 013/12/Using-CSOM-in-PowerShell-scripts- with-Office365.html

28 More Examples

29 Patterns and Practices More scary developer stuff Hidden in Github Adds 157 more cmdlets – Get-Command - FullyQualifiedModule OfficeDevPnP.PowerShell.Comman ds

30 More links! New SharePoint CSOM version released for SharePoint Online - May 2016 Connect To All Office 365 Services With PowerShell Gary Lapointe’s SPO cmdlets SPO Automation cmdlets on Codeplex

Questions? (Make’m Easy Ones)

ONE FANATICAL PLACE | SAN ANTONIO, TX US SALES: | US SUPPORT: | © RACKSPACE LTD. | RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN THE UNITED STATES AND OTHER COUNTRIES. | US Thank you