HappyFox Workflows seamlessly integrates with Azure Active Directory (Azure AD), enabling administrators to perform swift actions within Azure AD using the power of Workflows. This article focuses on leveraging the Get User Info, Add Member to Group, Delete User and Remove Member From Group actions.
While the most effective method to retrieve a user to perform the above actions would be to utilize the User principal name field or unique email address. However, clients who opt to use name search, can enhance their experience by applying additional filters to fetch the desired user.
Using Filters for Advanced User Fetching:
When employing names to perform actions, administrators can benefit from refining their user search using Additional filters tailored to their specific requirements. However, these filters must adhere to the exact same format as supported by Azure API query parameters, ensuring seamless compatibility and usability.
Example Scenarios:
Here are a few examples that illustrate how to structure your filters for optimal results:
1. Single Filter Usage
Filter: "department:Helpdesk Dev Team"
2. Combining Filters
Filter: "department:Helpdesk Dev Team" AND "jobTitle:developer"
3. Broadening the Search
Filter: "department:Helpdesk Dev Team" OR "jobTitle:developer"
4. Dynamic Filter
Filter: "department:{{step_1__department}}" AND "jobTitle:{{step_1__job_title}}"
By adhering to the suggested formats, administrators can swiftly retrieve the specific user subsets they require, streamlining workflows and boosting productivity.