Connect AzureAD from Orchestrator Runbook Designer

vijayaragavan Hariharan 1 Reputation point

I'm unable to execute the Get-AzureADuser and Set-AzureADuser commands from Orchestrator Runbook Designer. Activity shows success but no output.
Can anyone please guide me to accomplish this?


System Center Orchestrator
System Center Orchestrator
A family of System Center products that provide an automation platform for orchestrating and integrating both Microsoft and non-Microsoft IT tools.
213 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Leon Laude 85,641 Reputation points

    Hi @vijayaragavan Hariharan ,

    Could you please provide how you are running these PowerShell cmdlets? Are you using a Run .Net Script runbook activity?

    These cmdlets probably require the 64-Bit PowerShell, as I mentioned in your other thread, try running with the methods I provided:


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Best regards,

    0 comments No comments

  2. vijayaragavan Hariharan 1 Reputation point

    Hello Leon,

    I tried using Invoke-command - computername localhost -scriptblock {script}

    but i dont see the upn gets changed in azuread..if i execute the same commands in powershell manually, it works well and changing the UPN.