r/PowerShell • u/AdeelAutomates • Dec 08 '25
Rest API Explained - With PowerShell on Azure/Graph
In this video, I unpack how APIs work with PowerShell:
- I explain what they are.
- I explain all the components (Methods, URI, Headers & Body).
- What Tokens are, how to get them & how to decode them to peek at its component's inside.
- Benefits of using APIs
- How to use them against Azure ARM & Graph API.
- How to discover APIs for actions you want to take.
- How to leverage APIs with other identities (App Registrations & Managed Identities)
- How to assign Managed Identities to Graph Roles.
With the end goal of equipping, you with the necessary knowledge to start using APIs with PowerShell
Link: https://www.youtube.com/watch?v=UjjrSkbjP0c
If you have any feedbacks and ideas, would love to hear them!
73
Upvotes
6
u/robodev1 Dec 08 '25
Great videos! Keep it up, loving reinforcing my learning
9
u/Federal_Ad2455 Dec 08 '25
Tip. Talk about batching (unofficial Azure arm api and official graph api)
1
u/FlailingHose Dec 10 '25
I’m very new to APIs. You call it Application Interface on your initial slide. I thought it’s Application Programming Interface? Saving the video to watch in full, as I’m getting more into the automation aspects rather than clicking through GUI all the time. Thank you for making this.
1
u/Mafamaticks Dec 10 '25
Dumb question but how often do you have to query Graph directly instead of using the powershell module?
So far everything I’ve needed to access has a corresponding cmdlet
3
u/ElevatorDue6763 Dec 08 '25
If you haven’t already, handling pagination. As others have mentioned, batching.
3
u/BlackV Dec 08 '25 edited Jan 14 '26
Great video, my only additional suggestion would be reduce the border a little and make your text larger makes it easier to follow on smaller devices
4
u/Aliboeali Dec 08 '25
Subbed