Start Lifecycle Workflow in Entra ID Governance with PowerShell

If you have been working with Lifecycle Workflows in Entra ID Governance, then you how to start a Lifecycle a run it for a specific user or more. But there may come a time when you find yourself in the need to run a Lifecycle Workflow for a specific user by using PowerShell.

One such case could be running a specific Lifecycle Workflow when a user gets an Entitlement Access Package assigned or even removed from an access package.

So, here is how to start a Lifecycle Workflow using PowerShell for a specific user – The PowerShell code uses the Microsoft Graph – I have provided you with two ways of doing it – The first sample is using the Microsoft Graph PowerShell module and the second is using the API

Microsoft Graph PowerShell module version:

Microsoft Graph API version:

I wrote this short blog post so that it easier for you and me to find the PowerShell code to start Lifecycle Workflows with PowerShell, because I must admit I toke me a little longer that I wont to admit to find this code. That’s is the reason for writing this blog post so that these to code samples are easier for me and of cause you to find when its needed.

Note

If you plan on using this in a Foreach in PowerShell, remember that in the GUI when you start a Lifecycle Workflow for serval user you can only select 10 users at a time – This soft limit is there for a reason.