Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering Office 365 Administration

You're reading from   Mastering Office 365 Administration A complete and comprehensive guide to Office 365 Administration - manage users, domains, licenses, and much more

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781787288638
Length 532 pages
Edition 1st Edition
Languages
Arrow right icon
Authors (4):
Arrow left icon
Nikkia Carter Nikkia Carter
Author Profile Icon Nikkia Carter
Nikkia Carter
Alara Rogers Alara Rogers
Author Profile Icon Alara Rogers
Alara Rogers
Stephen Hall Stephen Hall
Author Profile Icon Stephen Hall
Stephen Hall
Thomas Carpe Thomas Carpe
Author Profile Icon Thomas Carpe
Thomas Carpe
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

Preface 1. The Office 365 Administration Portal FREE CHAPTER 2. Using PowerShell to Connect to Office 365 Services 3. Administering Azure Active Directory 4. Administering Exchange Online – Essentials 5. Administering Exchange – Advanced Topics 6. Administering SharePoint Online 7. Office 365 Groups and Microsoft Teams Administration 8. Understanding Security and Compliance 9. Administering Skype for Business 10. Administering Yammer 11. Administering OneDrive for Business 12. Power BI Administration 13. Administering PowerApps, Flow, Stream, and Forms 14. Usage Reporting 15. Other Books You May Enjoy

Connecting to customer tenants using delegated access

If you're an IT professional providing services to Office 365 customers, connecting to Office 365 tenants for your clients can be a bit more complicated than the examples shown previously.

Most commands in the Azure AD PowerShell module will allow you to specify a -TenantId parameter. This is a GUID associated with each of your customer's tenants. But where does this value come from? You can use the Get-MsolPartnerContract to display a list of tenant IDs for the clients you have delegated access to:

Get-MsolPartnerContract -All

Unfortunately, this ID by itself is not very useful. You'll have to combine it somehow with other commands to get something you can identify as a specific client.

For example, the following command will pipe all your customer tenants into a Foreach-Object loop and output the domains associated...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime