A cloud-based identity and access management service for securing user authentication and resource access
@Anonymous You can refer to this https://learn.microsoft.com/en-us/graph/tutorial-lifecycle-workflows-set-employeeleavedatetime?tabs=http describes how to configure the employeeleavedatetime attribute for a user, this attribute can be used as a trigger for leaver workflows.
We can update this attribute via Graph Explorer/Beta. Let me know if you have any further questions.
Please remember to "Accept Answer" if answer helped, so that others in the community facing similar issues can easily find the solution.