Graph-Powershell-101-Binder

View project on GitHub

Welcome to my Graph 101 Binder site, this is a simple site that summaries some the of the scripts I’ve posted to my blog for my Graph 101 PowerShell series

How-To

Folders

Get a Folder using its FolderPath

Authentication

Service Principal Authentication

FolderId’s

Converting between FolderId formats used in the Exchange Online PowerShell Module and the Graph PowerShell SDK

Users

Enumerate and Search for users in Azure AD

Contacts

Using Batching to improve the speed of Contact creation

Calendar

Simple PowerShell sample for creating an Appointment or Meeting

User Photos

Get the User Photo and save it to a file (and resize it)

Moderation

How to Approve and Reject Moderation Emails

Out of Office/AutoReplys

Using Out of Office / automaticRepliesSetting with Service Principal Authentications

Search Mailbox Folders

How to Create a Search Folder

How to Create a Search Folder based on Email categories

Finding Emails in a Mail Folder older then a specific date

Shared Mailboxes

Accesing a Shared Mailbox Folder

Sending Email From a Shared Mailbox

Dumpster - Recoverable Items

How to Get the Recoverable Items (Dumpster v2) Folders

Getting the Recoverable Items from the Dumpster Folders

Restoring a Deleted Item back to its ordinal location

Mailbox Size

PowerShell Graph SDK Mailbox Size Quota if example