Not able to import powershell module to Azure Automation

Welcome Forums General PowerShell Q&A Not able to import powershell module to Azure Automation

This topic contains 1 reply, has 2 voices, and was last updated by

 
Keymaster
7 months ago.

  • Author
    Posts
  • #96903

    Participant
    Points: 0
    Rank: Member

    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

    Keymaster
    Points: 1,624
    Helping HandTeam Member
    Rank: Community Hero

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

The topic ‘Not able to import powershell module to Azure Automation’ is closed to new replies.