Not able to import powershell module to Azure Automation

This topic contains 1 reply, has 2 voices, and was last updated by  Don Jones 1 month, 1 week ago.

  • Author
    Posts
  • #96903

    Alexander Holmeset
    Participant

    Trying to import the Skype for Business Online PowerShell module into Azure Automation.
    I keep getting this error:
    Error importing the module SkypeOnlineConnector (4). Import failed with the following error: Orchestrator.Shared.AsyncModuleImport.ModuleImportException: Cannot import the module of name SkypeOnlineConnector (4), as the module structure was invalid.

    Have tried ziping down and improting these folders:
    C:\Program Files\Common Files\Skype for Business Online\
    C:\Program Files\Common Files\Skype for Business Online\Modules
    C:\Program Files\Common Files\Skype for Business Online\Modules\SkypeOnlineConnector

    There is also a folder named:
    C:\Program Files\Common Files\Skype for Business Online\Modules\LyncOnlineConnector

    The module requires PS 5.1, and Azure Automation PS verison is also 5.1, but another build.

    Anyone tried import this module before?

  • #98851

    Don Jones
    Keymaster

    I've not, but AA is notoriously picky about the modules it's willing to deal with.

You must be logged in to reply to this topic.