IAM Automation with PowerShell and Python: video thumbnailComing to the IAM Membership
#27Hands-on labStage 4 · IAM Engineer

IAM Automation with PowerShell and Python

Automate joiner, mover and leaver tasks with PowerShell and Python.

Stage
IAM Engineer
Level
Intermediate
Format
Video + hands-on labs

About this video

This SkillsBuild video course shows how to automate common identity tasks with PowerShell, Python and Microsoft Graph. You'll build scripts that handle joiners, movers and leavers in a free Microsoft Entra ID test tenant. Automation is a big part of the engineer stage, and it removes slow, error-prone manual work.

What you'll learn

  • Creating and updating users with the Microsoft Graph PowerShell SDK
  • Calling Microsoft Graph REST APIs from Python
  • App registrations, client credentials and least privilege API permissions
  • Scripting a joiner: account, groups, licence and manager from an HR file
  • Scripting movers and leavers: group changes, disabling accounts, revoking sessions
  • Handling errors, paging, throttling and logging so scripts are safe to rerun
  • Keeping secrets out of your scripts

What's included

  • Coding walkthroughs in a free Microsoft Entra ID test tenant
  • Code explained line by line
  • Practice tasks to try in your own lab
  • A small automation project for your portfolio

Who it's for

  • IAM analysts doing repetitive tasks by hand
  • Administrators who know some PowerShell and want to use it for identity
  • Engineers who expect automation questions in interviews
  • People new to scripting who are comfortable with IAM basics

By the end, you'll be able to write and run simple, safe scripts that automate joiner, mover and leaver tasks.