Azure-docs: Is this module supported on Azure Automation?

Created on 4 Apr 2019  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-docs

When importing the module in an Azure Automation account, I keep getting errors with regards to Microsoft.Azure.Cosmos.Table objects. For example:

New-Object : Cannot find type [Microsoft.Azure.Cosmos.Table.TableQuery]: verify that the assembly containing this type is loaded.

Az.Storage 1.1.1 and Az.Resources 1.2.1 are imported to the Automation Account.

Is AzureRmStorageTable (2.0.1) supported on Azure Automation?


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

cosmos-dsvc cosmosdb-tablsubsvc cxp product-question triaged

All 4 comments

@tinod Thank you for your interest in Azure cloud services and for bringing this to our attention. We are currently investigating and will update you when we have accurate information.

It looks as if Az.Storage 1.1.0 included the Microsoft.Azure.Cosmos.Table.dll, and Az.Storage 1.1.1 does not, hence the problems.

Hi @tinodo , the problem is that PS Gallery is publishing an old (3 months old) preview version under version 1.1.1 which is making this module to be installed as latest if allow preview setting is enabled. I reached out to the PG to unpublish that version from the gallery.

@tinod Again, thank you for bringing this to our attention! We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DeepPuddles picture DeepPuddles  Â·  3Comments

mrdfuse picture mrdfuse  Â·  3Comments

JeffLoo-ong picture JeffLoo-ong  Â·  3Comments

behnam89 picture behnam89  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments