- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
09-20-2023 07:43 AM
Hi, I am needing to build a playbook for onboarding new accounts into Active Directory. I do know they have some Premium Playbooks but I don't have that budget so building our own.
How do I take in to account the aspect if the username is already taken and how to adjust for that?
Is there a task to create an email account when Hybrid 365 is used and office 365
09-28-2023 09:51 PM
Hi @JustinPayne, if you have an Active Directory integration, you can run the ad-get-user
command to check if the username is already taken, if the task outputs an error then the username is available.
To create a user account you might need to use the Active Directory or the Azure AD integrations.
For example, refer - https://xsoar.pan.dev/docs/reference/integrations/active-directory-query-v2#ad-create-user
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!