Add User to Group Azure AD activity

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 1분
  • The Add User to Group activity adds a user to an existing security group in Azure Active Directory.

    To access this activity in the Workflow Editor, select the Custom tab, and then navigate to Custom Activities > Azure AD. This activity was built with the REST web service activity template.

    중요사항:
    The REST message used for this activity must be configured to use OAuth 2.0.

    Input variables

    표 1. Add User to Group input variables
    Variable Description
    user_id Object ID (GUID) of the member to be added.
    group_id Object ID (GUID) of the target group.

    Output variables

    표 2. Add User to Group output variables
    Variable Description
    error Returns the error string from the REST message. If there are no errors, this variable returns a null value.
    body Contains a string value representing the output from the REST message.
    status_code Contains the status code returned from the Web service.

    Conditions

    표 3. Add User to Group conditions
    Condition Description
    Success Activity successfully added the object ID to the security group.
    Failure Activity failed to update the group's membership, or the activity failed to connect to Azure AD.