Getting Started with Microsoft Graph PowerShell provides all the instruction necessary for students to confidently begin producing production-ready scripts that interact with Microsoft 365 services. From installing the Graph PowerShell modules and securely authenticating, to exploring users, groups, devices, and applications, this course builds a solid foundation. Students will learn how to navigate Microsoft Graph namespaces, properly construct commands, and find the help they need using available tools and documentation. They’ll also gain experience using Graph Explorer, issuing basic REST API calls, and automating common administrative tasks in real-world scenarios.
Overview
Skills Learned
After completing this online training course, students will be able to:
Automate common administrative tasks across users, groups, devices, and apps in Microsoft 365 environments
Construct and execute Microsoft Graph PowerShell commands using correct syntax and structure
Describe common use cases and benefits of Microsoft Graph PowerShell for Microsoft 365 administration
Identify required permissions for specific commands and manage consent scopes
Install and configure required PowerShell modules and tools (PowerShell ISE, VS Code)
Interpret and work with JSON data structures relevant to Microsoft Graph scripting
Understand REST and OData standards that underpin Microsoft Graph API requests
Use Microsoft Graph Explorer to run queries, inspect responses, and manage permissions
- Server Administrator
- Azure Administrator
- DevOps and Cloud Ops Engineers
We suggest that students have basic knowledge or experience with PowerShell.
01. About This Course
- Introduction to Microsoft Graph PowerShell
- What We’ll Cover
- Common Uses of Microsoft Graph PowerShell
- Ten Skills You Will Gain in This Course
- Course Strategies
02. JSON – For Microsoft Graph PowerShell
- JSON – Example
- JSON – Standard
- JSON – Definition
- JSON – Data Types
- JSON – Object Breakdown
- JSON – Review
03. PowerShell Objects – For Microsoft Graph PowerShell
- PowerShell Objects
- PowerShell Objects – Breakdown
- PowerShell Objects Demo
- Comparisons: Single User
- Comparisons: Multiple Users
04. REST for Microsoft Graph PowerShell
- REST
- OData Standard
- Graph
- OData URL Conventions
- OData Query Options
- Commonly Used OData Functions
- OData Comparison and Logical Operators
- REST – OData – Graph Summary
05. The Microsoft Graph API
- Use the Microsoft Graph API
- Connect from Anywhere
- Microsoft Graph Explorer
- Using the Microsoft Graph Explorer
- Modify Permissions
- Granting Consent
- On Behalf Of
- Scope Consent Successful
- Response Preview
- Response Headers
- Code Snippets
- HTTP Verbs in Microsoft Graph
06. IDE – PowerShell ISE
- IDE
- Installation via the PowerShell ISE
- Prerequisites
- Execution Policy
- $MaximumFunctionCount
- Install-Module PowerShellGet
- Install-Module PSResourceGet
- Install-Module Microsoft.Graph
- Get-InstalledModule Microsoft.Graph.*
- Verify Installation
07. IDE – Visual Studio Code
- Install PowerShell 7.x
- Install Visual Studio Code
- PowerShell Extension
- PS Version
- Scope – Uninstall
- Install-Graph-VSCode–CurrentUser
- VS Code Installation Summary
08. Microsoft Graph PowerShell Command Structure
- Now for Some Actual Fun
- Remember Graph Explorer
- Command Structure
- Which Permissions Do We Need for Get-MgUser?
- Find-MgGraphCommand
- Connect-MgGraph
- Command Structure Summary
09. Microsoft Graph PowerShell Help
- Getting Help
10. In Conclusion
- Remember
- Ten Skills You Gained in This Course
SKILLS LEARNED
Skills Learned
After completing this online training course, students will be able to:
Automate common administrative tasks across users, groups, devices, and apps in Microsoft 365 environments
Construct and execute Microsoft Graph PowerShell commands using correct syntax and structure
Describe common use cases and benefits of Microsoft Graph PowerShell for Microsoft 365 administration
Identify required permissions for specific commands and manage consent scopes
Install and configure required PowerShell modules and tools (PowerShell ISE, VS Code)
Interpret and work with JSON data structures relevant to Microsoft Graph scripting
Understand REST and OData standards that underpin Microsoft Graph API requests
Use Microsoft Graph Explorer to run queries, inspect responses, and manage permissions
WHO SHOULD ATTEND
- Server Administrator
- Azure Administrator
- DevOps and Cloud Ops Engineers
PREREQUISITES
We suggest that students have basic knowledge or experience with PowerShell.
COURSE OUTLINE
01. About This Course
- Introduction to Microsoft Graph PowerShell
- What We’ll Cover
- Common Uses of Microsoft Graph PowerShell
- Ten Skills You Will Gain in This Course
- Course Strategies
02. JSON – For Microsoft Graph PowerShell
- JSON – Example
- JSON – Standard
- JSON – Definition
- JSON – Data Types
- JSON – Object Breakdown
- JSON – Review
03. PowerShell Objects – For Microsoft Graph PowerShell
- PowerShell Objects
- PowerShell Objects – Breakdown
- PowerShell Objects Demo
- Comparisons: Single User
- Comparisons: Multiple Users
04. REST for Microsoft Graph PowerShell
- REST
- OData Standard
- Graph
- OData URL Conventions
- OData Query Options
- Commonly Used OData Functions
- OData Comparison and Logical Operators
- REST – OData – Graph Summary
05. The Microsoft Graph API
- Use the Microsoft Graph API
- Connect from Anywhere
- Microsoft Graph Explorer
- Using the Microsoft Graph Explorer
- Modify Permissions
- Granting Consent
- On Behalf Of
- Scope Consent Successful
- Response Preview
- Response Headers
- Code Snippets
- HTTP Verbs in Microsoft Graph
06. IDE – PowerShell ISE
- IDE
- Installation via the PowerShell ISE
- Prerequisites
- Execution Policy
- $MaximumFunctionCount
- Install-Module PowerShellGet
- Install-Module PSResourceGet
- Install-Module Microsoft.Graph
- Get-InstalledModule Microsoft.Graph.*
- Verify Installation
07. IDE – Visual Studio Code
- Install PowerShell 7.x
- Install Visual Studio Code
- PowerShell Extension
- PS Version
- Scope – Uninstall
- Install-Graph-VSCode–CurrentUser
- VS Code Installation Summary
08. Microsoft Graph PowerShell Command Structure
- Now for Some Actual Fun
- Remember Graph Explorer
- Command Structure
- Which Permissions Do We Need for Get-MgUser?
- Find-MgGraphCommand
- Connect-MgGraph
- Command Structure Summary
09. Microsoft Graph PowerShell Help
- Getting Help
10. In Conclusion
- Remember
- Ten Skills You Gained in This Course