Book Image

Mastering Office 365 Administration

By : Thomas Carpe, Nikkia Carter, Alara Rogers
Book Image

Mastering Office 365 Administration

By: Thomas Carpe, Nikkia Carter, Alara Rogers

Overview of this book

In today's world, every organization aims to migrate to the cloud in order to become more efficient by making full use of the latest technologies. Office 365 is your one-stop solution to making your organization reliable, scalable, and fast. This book will start with an overview of Office 365 components, and help you learn how to use the administration portal, and perform basic administration. It then goes on to cover common management tasks, such as managing users, admin roles, groups, securing Office 365, and enforcing compliance. In the next set of chapters, you will learn about topics including managing Skype for Business Online, Yammer, OneDrive for Business, and Microsoft Teams. In the final section of the book, you will learn how to carry out reporting and monitor Office 365 service health. By the end of this book, you will be able to implement enterprise-level services with Office 365 based on your organization's needs.
Table of Contents (20 chapters)
Title Page
Packt Upsell
Contributors
Preface
10
Administering Yammer
Index

Connecting to Skype for Business


Like Exchange Online, Skype for Business has its own module that uses remote PowerShell sessions. Similarly, you will be prompted if you don't provide a value for $Credentials. You might also need to specify the UserPrincipalName that corresponds to the credentials you provide—although it's not 100% clear exactly why this is necessary.

Connecting is fairly straightforward, as the example here shows:

Write-Host -ForegroundColor Cyan "Connect to Skype for Business Online"
$global:S4bSession = New-CsOnlineSession -Verbose <# :$VerbosePreference #>
-Credential $Credentials
Import-PSSession $global:S4bSession -Verbose <# :$VerbosePreference | Out-Null #>

With Skype for Business, things get a bit complicated if you're trying to connect to a site through delegated admin access. This involves providing values for the -OverrideAdminDomain parameter (but not -OverrideDiscoveryUri or -OverridePowerShellUri). We'll cover this in detail in just a bit.

Here's the...