In this episode, I breakdown Rest APIs. What they are, what they are made of & how to use them.
------------------------- C H A P T E R S -------------------------
00:00 API Theory
07:27 Explore Azure API
10:29 Decode JWT Token
14:11 GET Method
18:47 Chaining APIs Requests
22:03 Adding Filters to URI
26:30 PUT Method
28:35 Adding Body
30:42 PATCH Method
32:17 DELETE Method
32:58 Why use APIs?
38:18 Explore Graph API
44:07 Work with App Registrations
49:30 Work with Managed Identities
50:20 MI without Module AuthN
52:41 Bonus: Grant MI Graph Perms
59:15 Test With Runbooks as MI
1:00:07 Outro
------------------------- O V E R V I E W -------------------------
We will explore how to use APIs with Azure ARM and Graph Endpoints. We will learn the following
🔹All the parts that make an API
🔹Methods (GET, PUT, POST, PATCH, DELETE)
🔹URI
🔹Headers + Tokens
🔹Body
🔹How to work with Azure ARM & Graph APIs, including how to find the API commands to run with Invoke-RestMethod
🔹We will explore how to decode tokens and peak inside
🔹How to work with different identity types (User Accounts, App Registrations & Managed Identities)
🔹Even share insights as to why use them over PowerShell Modules
Show your support:
🔔 Subscribe for more videos in the series: PowerShell Engineering
👍 Like this video.
Links:
⚙️GitHub: https://github.com/adeelautomates/PowerShell-Engineering-Series
#api #azure #entraid #powershell