PowerShell and Office 365. Presentation created for Simplex-IT Developed by Sarah Dutkiewicz



Similar documents
SAML based Single Sign-on integration for:

Presented by: Robert Crane BE MBA MVP

PassTest. Bessere Qualität, bessere Dienstleistungen!

Section 1, Configuring Access Manager, on page 1 Section 2, Configuring Office 365, on page 4 Section 3, Verifying Single Sign-On Access, on page 5

Office 365 from the ground to the cloud

365 Services. 1.1 Configuring Access Manager Prerequisite Adding the Office 365 Metadata. docsys (en) 2 August 2012

MICROSOFT EXAM QUESTIONS & ANSWERS

WHITE PAPER BT Sync, the alternative for DirSync during Migrations

Getting Started with Azure AD and Hybrid Identities

Automating Microsoft

Dell One Identity Cloud Access Manager How to Configure Microsoft Office 365

SPHOL300 Synchronizing Profile Pictures from On-Premises AD to SharePoint Online

test questions and answers:

How To Manage Your Online Experiences On Windows Achemosade Online (Windows) And On-Premises) With A Free Version Of Windows.Com (Windows.Com) On A Microsoft Powerbook (Windows).Com) For Free Recipe

Mod 3: Office 365 DirSync, Single Sign-On & ADFS

Microsoft Office 365 Courseware

Agenda. Federation using ADFS and Extensibility options. Office 365 Identity overview. Federation and Synchronization

Microsoft. Official Course. Introduction to Active Directory Domain Services. Module 2

Enterprise Self Service Quick start Guide

Configuring Single Sign-On from the VMware Identity Manager Service to Office 365

Create user mailboxes

TROUBLESHOOTING. Calendar, SSL, Mailboxes, and more!

webnetwork Office 365 SSO integration v

Mod 2: User Management

Migrating Exchange Server to Office 365

Integration of Office 365 with existing faculty SSO

Microsoft Office 365 with MailDefender

LAB 2: Identity Management

Introduction to Unified Device Management with Intune and System Center Configuration Manager

Managing Office 365 Identities and Services

Table of Contents Introduction... 2 Azure ADSync Requirements/Prerequisites:... 2 Software Requirements... 2 Hardware Requirements...

Lab Answer Key for Module 1: Installing and Configuring Windows Server Table of Contents Lab 1: Configuring Windows Server

Good Morning Wireless! SSID: MSFTOPEN No Username or Password Required

When you publish data to a SharePoint site, you first

Managing Office 365 Identities and Services 20346C; 5 Days, Instructor-led

Course 20346: Managing Office 365 Identities and Services

AADSync Installation Guide

Managing Office 365 Identities and Services

Avatier Identity Management Suite

Office 365 deployment checklists

This module explains the Microsoft Dynamics NAV architecture and its core components.

126 SW 148 th Street Suite C-100, #105 Seattle, WA Tel: Fax:

Preparing an IIS Server for EmpowerID installation

Quality Management Consultancy

Webinar Self-service in Microsoft Azure AD Premium

Using Management Shell Reports and Tracking User Access in the NetVanta UC Server

Office 365 deploym. ployment checklists. Chapter 27

6425C - Windows Server 2008 R2 Active Directory Domain Services

Windows Server 2008 R2: What's New in Active Directory

Buffalo Technology: Migrating your data to Windows Storage Server 2012 R2

SharePoint 2010 Backup and Restore Using Central Administrator & Powershell

Big data variety, 179 velocity, 179 volume, 179 Blob storage containers

MS-6425C - Configuring Windows Server 2008 Active Directory Domain Services

LAB 1: Installing Active Directory Federation Services

Microsoft IT Deploys and Manages Office 365 ProPlus

Get started with cloud hybrid search for SharePoint

Release Note RM Unify CSV Extraction Tool

Avatier Identity Management Suite

Upgrade Guide BES12. Version 12.1

PRiSM Security. Configuration and considerations

HOW LYNC 2010 & LYNC 2013 GETS USER CONTACT CARD PHOTO

Microsoft Dynamics NAV 2015 Hardware and Server Requirements. Microsoft Dynamics NAV Windows Client Requirements

SWCS 4.2 Client Configuration Users Guide Revision /26/2012 Solatech, Inc.

Enabling and Managing Office 365

Working with Versioning. SharePoint Services

How to Create a Delegated Administrator User Role / To create a Delegated Administrator user role Page 1

Audience Profile This course is intended for any developer that is tasked with creating applications that interface with O365.

Workflow approval via

Dell One Identity Quick Connect for Cloud Services 3.6.1

Installation Instruction STATISTICA Enterprise Small Business

Office 365 DirSync, ADFS, Single Sign On and Exchange Federation

Administration Guide. . All right reserved. For more information about Specops Gpupdate and other Specops products, visit

Wakefield Council Secure and file transfer User guide for customers, partners and agencies

STATISTICA VERSION 12 STATISTICA ENTERPRISE SMALL BUSINESS INSTALLATION INSTRUCTIONS

Call Recorder Quick CD Access System

Test Lab Guide: Creating a Windows Azure AD and Windows Server AD Environment using Azure AD Sync

Dell One Identity Quick Connect for Cloud Services 3.6.0

AvePoint CallAssist for Microsoft Dynamics CRM. Installation and Configuration Guide

Exam : Administrating Windows Server 2012 R2. Course Overview

Special thanks to the following people for reviewing and providing invaluable feedback for this document: Joe Davies, Bill Mathers, Andreas Kjellman

This document is provided to you by ABC E BUSINESS, Microsoft Dynamics Preferred partner. System Requirements NAV 2016

STATISTICA VERSION 9 STATISTICA ENTERPRISE INSTALLATION INSTRUCTIONS FOR USE WITH TERMINAL SERVER

WatchDox for Windows User Guide. Version 3.9.0

Unity Error Message: Your voic box is almost full

This guide identifies two possible enterprise integration scenarios for NetScaler and Azure AD.

Microsoft Enterprise Search for IT Professionals Course 10802A; 3 Days, Instructor-led

OTP Server. Integration module. Nordic Edge AD Membership Provider for Microsoft ASP.NET. Version 1.0, rev. 6. Nordic Edge

Before you begin with an Exchange 2010 hybrid deployment Sign up for Office 365 for an Exchange 2010 hybrid deployment... 10

Uninstallation Guide Funding Information System (FIS)

OneDrive for Business Frequently Asked Questions

Microsoft Office365 with Active Directory Federated Services (ADFS) Authenticating Users Using SecurAccess Server by SecurEnvoy

Course 10978A Introduction to Azure for Developers

8.10. Migrating to Microsoft Office 365

Transcription:

PowerShell and Office 365 Presentation created for Simplex-IT Developed by Sarah Dutkiewicz

Agenda Prerequisites Signing On Company Information Subscriptions Users Groups & Roles This presentation is covering cmdlets specific to the Office 365 core management. We will not be covering any cmdlets related to Exchange Online, SharePoint Online, or Lync Online

Prerequisites Minimum Operating System: Windows 7 or Windows Server 2008 R2 Minimum Software Requirements: PowerShell and.net Framework 3.5.1 Microsoft Online Services Sign-In Assistant (IDCRL7): 32-bit version 64-bit version Microsoft Online Services Module for Windows PowerShell / Windows Azure Active Directory Module for Windows PowerShell 32-bit version 64-bit version

The Office 365 PowerShell Module MSOnline Remember to import this into your PowerShell session with the Import-Module command if you aren t running PowerShell from the Windows Azure Active Directory Module for Windows PowerShell shortcut..

Connect-MsolService Connecting to Office 365

List Company Information Get-MsolCompanyInformation

Update Company Contact Information Set-MsolCompanyContactInformation Set your technical and marketing contacts with this cmdlet.

Directory Synchronization Set-MsolDirSyncEnabled Not sure what your company is currently set at? Use the following command: Get-MsolCompanyInformation Select DirectorySynchronizationEnabled

Subscription Information Get-MsolSubscription

Account SKUs Get-MsolAccountSku

List Users Get-MsolUser Use the EnabledFilter parameter to show a particular type (All, EnabledOnly, DisabledOnly) Use the MaxResults parameter to limit how many results are shown. Use the UserPrincipalName parameter to search by UPN. Use the SearchString parameter to search the display name or email address fields.

List Users

Create a New User New-MsolUser -UserPrincipalName tom.jones@simplex-it.com -DisplayName "Tom Jones"

Update User Properties Set-MsolUser UserPrincipalName yourname@yourdomain.com UsageLocation US The UsageLocation parameter should be the 2-character ISO country code for the user.

Set User Licenses Set-MsolUserLicense The UsageLocation field needs to be set before a license can be assigned to a user. Use this cmdlet to add or remove licenses. You can add and remove licenses in one operation using the respective AddLicense and RemoveLicense parameter. These parameters take a SkuPartNumber for their values.

Change User s Password Set-MsolUserPassword UserPrincipalName user@domain.com NewPassword "Ch4ng3m3"

Remove a User Remove-MsolUser You can pipe multiple users to this command using the Get-MsolUser cmdlet, if you need to remove multiple users at a time. Use the Force parameter to suppress the confirmation prompt. Removing the user puts them in a recycle bin for 30 days (by default). To remove them from the recycle bin, use the RemoveFromRecycleBin parameter. Once a user is deleted from the recycle bin, they cannot be restored.

Viewing the Users in the Recycle Bin Get-MsolUser -ReturnDeletedUsers

Restoring a User Restore-MsolUser You can pipe multiple users to this command using the Get-MsolUser cmdlet, if you need to restore multiple users at a time. Use the AutoReconcileProxyConflicts parameter when a restore fails due to proxy conflicts. If a previous UPN is already active for another user, you ll need to assign the restored user a new UPN. For this purpose, use the NewUserPrincipalName.

Change a User ID Set-MsolUserPrincipalName UserPrincipalName oldname@domain.com NewUserPrincipalName newname@domain.com Use this to change a user s principal name. For example, if you re already in PowerShell and need to change someone s UPN. Rather than open the GUI and go through the process, just use this cmdlet!

View the Password Policy Get-MsolPasswordPolicy

Change the Password Policy Set-MsolPasswordPolicy Use the ValidityPeriod parameter to specify how long a password is valid. Use the NotificationDays parameter to specify how long before a user is notified to change their password.

Add-MsolGroupMember Get-MsolGroup Get-MsolGroupMember New-MsolGroup Remove-MsolGroup Remove-MsolGroupMember Set-MsolGroup Security Groups

List Groups Get-MsolGroup

Add a New Group New-MsolGroup

Add Members to a Security Group Add-MsolGroupMember Store the group s ID in a variable, as it will help. GroupMemberType values include User, Contact, Group, Service Principal, and Other

List Group Members Get-MsolGroupMember This again requires a groupid.

Remove a Security Group Member Remove-MsolGroupMember GroupObjectId $groupid GroupMemberObjectId $userid GroupMemberType User Store the user ID in a variable. ($userid) Store the group ID in a variable ($groupid)

Update a Security Group Set-MsolGroup Change display name and description

Remove a Security Group Remove-MsolGroup This cmdlet runs a confirmation prompt. Use the Force to suppress the prompt.

Roles Add-MsolRoleMember Get-MsolRole Get-MsolRoleMember Remove-MsolRoleMember Get-MsolUserRole

List Administrator Roles Get-MsolRole

Get All Users in a Role Get-MsolRoleMember

Get Roles for a User Get-MsolUserRole

Add Users to a Role Add-MsolRoleMember RoleName "Billing Administrator" RoleMemberEmailAddress "name@domain.com"

Remove Users from a Role Remove-MsolRoleMember RoleName "Billing Administrator" RoleMemberEmailAddress "name@domain.com"

Contact Information General feedback on the webinar: Bob@Simplex-IT.com Office 365 PowerShell questions (or even general PowerShell questions): Sarah@Simplex-IT.com