Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

if this module supports azure automation #146

Open
Mark-Hxw opened this issue Oct 16, 2020 · 6 comments
Open

if this module supports azure automation #146

Mark-Hxw opened this issue Oct 16, 2020 · 6 comments

Comments

@Mark-Hxw
Copy link

Hi there,

I tried to import this module from Azure automation module gallery, but it failed, while I installed it locally.
then I tried to zip the local installed module and import the zip file to azure automation module, still no luck.
in the last try, I made an ARM template to deploy this module to azure automation, still failed.
I checked Azure automation is using powershell 5.1.

if you can confirm this please?
Thanks in advance

@simondmorias
Copy link
Member

Do you get any error messages? Can you provide some step of what you through the Automation Gallery.
This is not something I have tried in the past but I can't think of any reason why it would not work.

@Mark-Hxw
Copy link
Author

Error importing the module azure.databricks.cicd.tools. Import failed with the following error: Orchestrator.Shared.AsyncModuleImport.ModuleImportException: An error occurred during module validation. When importing the module to an internal PowerShell session, it was not able to be loaded by PowerShell. There is likely an issue with the contents of the module that results in PowerShell's not being able to load it. Please verify that the module imports successfully in a local PowerShell session, correct any issues, and then try importing again.

above was the error I received from Azure monitoring module gallery where I tried to import this module

@Mark-Hxw
Copy link
Author

As this module is available in Azure gallery I hope you can help test why it cannot be imported together, thanks.

@simondmorias
Copy link
Member

I've just rolled back the last release to the previous version as someone else reported a similar issue, even though it imports fine on Windows PowerShell locally. Can you try it again - it may take a couple of hours to pickup the latest version.

@Mark-Hxw
Copy link
Author

I just tried it, still the same error returned, I guess previously we all used it locally, so no one tested if it could be working on Azure Automation

@Mark-Hxw
Copy link
Author

if you have an automation account, hope you can have a try to test it, you may have a better understanding on the issue as the contributor of the module

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants