Azure Active Directory - Get members of an Azure Active Directory group

The Azure Active Directory - Get members of an Azure Active Directory group action A tool for building the processes, logic, and direction within workflows. retrieves details of members in a Azure Active Directory group. The member details are stored in the output variables of the action and can be used in other actions of the workflow.

For example, the Store member emails collection output variable contains the email addresses of all of the members of the Azure Active Directory group. You can use this output variable in the Assign a task to multiple users action to send the same task to all of the members of this group.

For more information about Azure Active Directory, see Azure Active Directory.

Configure the Azure Active Directory - Get members of an Azure Active Directory group action

  1. Add the action to the workflow and open the action configuration panel. For more information, see Add, rename, and copy actions.

  1. Select a Connection. If you do not have a connection, see Add a connection.
  1. Select the name of the group from which you want to retrieve member details in Group name.

    Important:  Only Security group type Azure Active Directory groups are shown in the Group name drop-down. The other Azure Active Directory group types are supported and if you want to use a group of a different type, you can insert the group name as a variable.

Azure Active Directory - Get members of an Azure Active Directory group action fields, buttons, and settings

Field

Description

Variable types

Connection Credentials and other settings required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

The Azure Active Directory connection to use.

(n/a)

Group name

The name of the group from which you want to retrieve members details.

When a connection is selected, the Group name drop-down is populated with the names of the groups in the Azure Active Directory account.

Important:  Only Security group type Azure Active Directory groups are shown in the Group name drop-down. The other Azure Active Directory group types are supported and if you want to use a group of a different type, you can insert the group name as a variable.

Text, Decimal, Integer, Boolean, DateTime, Collection
Result

Stores the result of the action in an object with variables that can be used in other actions of the workflow. Contains the following variables:

  • Members: Collection variable that contains variables to store the retrieved member details.

  • Store member emails: Collection variable to store the email addresses of the group members.

Tip: You can use the Store member emails collection variable in the Assign a task to multiple users action to send a task to all members of the group.

Object