Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Microsoft  Office 365 Administration Cookbook
  • Toc
  • feedback
Microsoft  Office 365 Administration Cookbook

Microsoft Office 365 Administration Cookbook

By : Nate Chamberlain
4.8 (10)
close
Microsoft  Office 365 Administration Cookbook

Microsoft Office 365 Administration Cookbook

4.8 (10)
By: Nate Chamberlain

Overview of this book

Organizations across the world have switched to Office 365 to boost workplace productivity. However, to maximize investment in Office 365, you need to know how to efficiently administer Office 365 solutions. Microsoft Office 365 Administration Cookbook is packed with recipes to guide you through common and not-so-common administrative tasks throughout Office 365. Whether you’re administering a single app such as SharePoint or organization-wide Security & Compliance across Office 365, this cookbook offers a variety of recipes that you’ll want to have to hand. The book begins by covering essential setup and administration tasks. You’ll learn how to manage permissions for users and user groups along with automating routine admin tasks using PowerShell. You’ll then progress through to managing core Office 365 services such as Exchange Online, OneDrive, SharePoint Online, and Azure Active Directory (AD). This book also features recipes that’ll help you to manage newer services such as Microsoft Search, Power Platform, and Microsoft Teams. In the final chapters, you’ll delve into monitoring, reporting, and securing your Office 365 services. By the end of this book, you’ll have learned about managing individual Office 365 services along with monitoring, securing, and optimizing your entire Office 365 deployment efficiently.
Table of Contents (16 chapters)
close
14
Chapter 14: Appendix – Office 365 Subscriptions and Licenses

Disabling a user

When a user's access needs to be temporarily disabled so that the user cannot access Office 365 with those credentials but the data and user setup are not lost, an admin does not need to completely remove or unlicense a user. Instead, simply blocking the user's credentials will suffice. Let's disable a user in this recipe.

Getting ready

Using the skills learned in the Setting up the PowerShell environment recipe from Chapter 1, Office 365 Setup and Basic Administration, connect to your Office 365 tenant via PowerShell.

How to do it…

Update the UserPrincipalName parameter to the appropriate user, and then run the following code snippet:

Set-MsolUser -UserPrincipalName [email protected] -BlockCredential $true

How it works…

You've just disabled a user in a single step. The BlockCredential property on a user's profile will stop a user from being able to gain access with the blocked credentials...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete