Author Posts

March 23, 2018 at 8:46 am

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?

April 15, 2018 at 3:39 pm

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