none
call orchestrator runbook during LTI

    Question

  • I am attempting a LTI deploying and one of the steps I would like possible is for the machine to call a orchestrator runbook that installs visual studio. The problem being is that it seems that all steps are being ran as the machine local administrator account and that does not have access to the orchestrator web service. Is it possible to set the login account as a domain user?
    Thursday, December 12, 2013 10:20 PM

Answers

  • A cursory check of ZTIExecuteRunBook.wsf shows that the script is attempting to connect up to the runbook URL using the same credentials you used to log into the Deployment Share. Are you using a different set of credentials to login into MDT?

    ...
    
    sUserID = oEnvironment.Item("UserDomain") & "\" & oEnvironment.Item("UserID")
    sPassword = oEnvironment.Item("UserPassword")
    
    oLogging.CreateEntry "About to execute web service call using method " & sMethod & " to " & sURL & ": " & sEnvelope, LogTypeVerbose
    oLogging.CreateEntry " --Attempt #" & CStr(iTryIteration + 1), LogTypeVerbose
    oHTTP.open sMethod, sURL, False, sUserID, sPassword
    oHTTP.setRequestHeader "Content-Type", "application/atom+xml"
    ...


    Keith Garner - keithga.wordpress.com

    Friday, December 13, 2013 12:04 AM
    Moderator