List All EntraID Users
Description:
This step retrieves all users from a Microsoft Entra ID tenant.
The List All EntraID Users workflow step connects to Microsoft Entra ID (formerly Azure Active Directory) and retrieves the complete list of users available within the configured tenant.
The retrieved user information is stored in a FlowWright variable or global variable, allowing subsequent workflow steps to process, filter, or iterate through the user collection.
The step supports:
- Microsoft Entra ID user enumeration
- Configurable Entra ID connections
- Storage of user collections in workflow variables
- Dynamic workflow processing
- Integration with Microsoft Graph through FlowWright connections
This step can be used for:
- User directory synchronization
- Identity reporting
- Employee audits
- Bulk user processing
- Access reviews
- Identity lifecycle management
- Business process automation
Inputs
- entraIDConn - Select the Microsoft Entra ID connection configured in FlowWright.
- outputVariable - Specify the workflow Variable or Global Variable that will store the collection of Microsoft Entra ID users returned by the step.
Returns
- True - The user list was successfully retrieved.
- False - The user list could not be retrieved.
Usage:
The List All EntraID Users step is typically placed at the beginning of a workflow that needs to process or report on Microsoft Entra ID users.

The workflow stores the retrieved user collection in the specified workflow variable or global variable.
Once the users have been retrieved, later workflow steps can:
- Iterate through the user collection
- Generate user reports
- Perform compliance audits
- Synchronize user information
- Update external systems
- Execute bulk identity management operations
You need to set up an EntraID connection. Go to Integration > Connections > Generic Connections. On the Manage Generic Connections page, click Actions > Create. A sample connection is included here for reference.

Example:
Let’s build and execute the “clsListAllEntraIDUsersDef” example:
- Create a new process definition named “clsListAllEntraIDUsersDef” and open it in designer mode.
- Drag a “clsListAllEntraIDUsers” step to the canvas.
- Connect the dots between the “Start” and “clsListAllEntraIDUsers” steps.
- Define a variable or a global to store the groups.
- Click the "clsListAllEntraIDUsers" step to configure its "Required" properties. Provide a name for the step. Select the EntraID connection from the drop-down list. Provide the variable or global reference. Click the Save button. Note: Click the "AI Predict" button to have the Copilot add new process steps that match your process description.

- The “Logging” configuration is necessary for documentation and also measures workflow progress and percent complete. This is achieved by configuring the step state and percent fields individually, as shown below. Configure the “Logging” using the following properties.

- Save the Process Definition. Create a new Process Instance and execute it. When the workflow reaches the List All Users step, FlowWright connects to the configured Microsoft Entra ID tenant and retrieves all available user accounts. The complete user collection is stored in the specified workflow variable or global variable. If the user list is successfully retrieved, the workflow follows the True return path. If the connection cannot be established or the user information cannot be retrieved, the workflow follows the False return path.
Tips:
- Verify that the Microsoft Entra ID connection has been configured before using this step.
- Store the returned user collection in a workflow variable that can be referenced by subsequent workflow steps.
- Use the returned data together with For Each or collection-processing steps to perform bulk operations.
- Use this step when generating user reports or performing identity audits.
- Use the True and False return paths to implement appropriate success and error handling.
- Combine this step with user update, group management, or reporting steps to automate directory administration.
Notes:
- A valid Microsoft Entra ID connection must exist before this step can execute.
- The configured connection must have sufficient Microsoft Graph permissions to read directory users.
- The number of users returned depends on the Microsoft Entra ID tenant.
- Network connectivity or authentication issues may prevent successful retrieval.
- The workflow should include appropriate error handling for the False return path.
- Large tenants may require additional processing time when retrieving all user accounts.
Definition Sample:
You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.
Note: Verify and complete any missing configuration after importing the sample, including:
- Microsoft Entra ID connection
- Output variable mapping
- Workflow variable mappings
- Microsoft Graph permissions
- Environment-specific settings
After verifying the configuration, save the Process Definition before execution.
Click here to download the sample file.