Connect AzureAD from Orchestrator Runbook Designer

vijayaragavan Hariharan 1 Reputation point
2020-12-08T13:58:53.493+00:00

Hello,
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?

Regards,
Vijay

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.
217 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Leon Laude 85,686 Reputation points
    2020-12-08T14:35:04.673+00:00

    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:
    https://learn.microsoft.com/en-us/answers/questions/185401/execute-the-script-in-orchetrator-runbook-to-chang.html

    ----------

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

    Best regards,
    Leon

    0 comments No comments

  2. vijayaragavan Hariharan 1 Reputation point
    2020-12-08T14:38:59.44+00:00

    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.

    Regards,
    Vijay