Playbook for Disabling Azure User

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Playbook for Disabling Azure User

L1 Bithead

I want to create a playbook that uses the Microsoft Graph integration to disable and revoke a users sessions. I have a problem with the alerts not containing the UPN but instead creates its own naming convention that follows the format domain\user. 

Looking at some of the built in playbooks that work with graph queries, the input field for UPN is Core.OriginalAlert.event.raw_log.properties.targetResources.userPrincipalName which I cannot get to work in my playbook. When running the command, !msgraph-user-account-disable, manually from the war room and selecting the input as the built in "UPN" it also looks like this defaults to ${issue.original_alert_json.raw_abioc.event.auth_normalized_user.upn} but it does not successfully pull any data and errors out. Please let me know if there is another way I can do this on my end or if its something Palo needs to look at 

clairamore_0-1775144659139.png

 

0 REPLIES 0
  • 785 Views
  • 0 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!