• Error: Could not load 'System.IdentityModel.Tokens.JwtSecurityToken' when Connecting to MsOnline Session in Active Roles

    Hello Everyone,

    I am encountering an issue when trying to connect to an MsOnline session using the Connect-MsolService cmdlet within Active Roles.
    If I run the following command separately in a standard PowerShell session, it works as expected:

    Connect…

  • Updating user attribute from workflow using script lookup

    Hi

    I'm trying to get a workflow to run which will update extensionAttribute7 of a user object when it's been added to a group based on the job title.

    e.g. Joe Bloggs gets added to the group, his titlle is IT, EA7 needs to be set to "03452"…

  • Hiding function names in the "Function To Run" dropdown in an Automation Workflow

    I found something interesting that I wanted to share.

    I was writing a script module and, using good coding practices, I broke it out into several functions.

    This worked, and was fine, but when I went to configure it in an Active Roles Automation Workflow…

  • Restricting the type of object being added to a group

    I'm trying to write a onPreModify script that restricts the type of objects being added to certain groups. I don't want contact entries in certain groups.

    I've used the functions available here:  PowerShell Library Source Code

    I test is the…

  • Pass OperationReason control to a workflow when triggered from a PS script?

    Hello, we are triggering an on-demand workflow from a Powershell script using Set-QADObject but we need to record the request reference number as the OperationReason in the workflows activity operation so if someone checks the users change history the…

  • Query regarding script to recheck attribute using a workflow

    Hi everyone

    I'm hoping for some assistance with a script I'm working on.  I have a script that checks for a user having an Office licence which then sets a custom attribute edsvaRemoteMailboxCreation to true, which triggers another workflow to…

  • Can't Access Saved Object Properties from Script / Counter Returns Empty

    Hi,

    We're trying to create a workflow that counts every time a user enables or disables another user every day (workflow trigger is the modifivation of edsaAccountIsDisabled). (the counter resets every day.) If the counter reaches 20, the action requires…

  • Use workflow script to modify Azure attribute of removed member (disabling)

    Good morning

    I am a beginner in ARS Workflows....

    I have a use case where an account which is synched from AD on-Premise to Azure is disabled on premise and must be immediately disabled on Azure without waiting for next the AAD synch run.

    i know how to…

  • Can Active Roles perform WMI queries

    Hi,

    I'm working on a way to filter devices based on their type (laptop, tablet, desktop) to move them into a corresponding OU.  I've done this before using the parent OU or name but in my new situation all devices will be in one big OU to start so…

  • Update AD users employeenumber based on csv file

    I am currently using a workflow to update from field EmployeeID to EmployeeNumber.  Basically I am adding a letter in front of the employeeID to create employeeNumber.

    Ex. employeeID "123456" become employeeNumber "A123456"

    it working…

  • try catch not working

    I wrote a custom powershell script and have it run in a workflow.

    I'm having an issue with the try catch statement. If I remove try catch and just run the command inside the try method, the workflow executes fine. However, when a try catch is added,…