This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Workflow to add a user to an Admin group, then automatically remove them in X days.

    Management has asked that we limit the time a user is a member of the Enterprise Admins group.  I am copying a workflow that we use for approval of membership in the Domain Admins group, however I see no way to add a time component to the workflow.  Is there any way a workflow triggered from an AD action can grant temporary group access?

Parents
  • If the target group and target members are being specified by a parameter on the workflow, you can retrieve those in the script using the following:

    $workflow.Parameter(name)

    Ex.
    $groupDN = $workflow.Parameter('groupDN')
    $member = $workflow.Parameter('memberDN')
Reply
  • If the target group and target members are being specified by a parameter on the workflow, you can retrieve those in the script using the following:

    $workflow.Parameter(name)

    Ex.
    $groupDN = $workflow.Parameter('groupDN')
    $member = $workflow.Parameter('memberDN')
Children
No Data