question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

az vm assess-patches fails with "Subscription is not registered." error

See original GitHub issue

Describe the bug

az vm assess-patches fails with “Subscription is not registered.” error. What does that mean? How to fix it?

Command Name az vm assess-patches

Errors:

Subscription is not registered.

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here…
  • az vm assess-patches -g {} -n {} --debug

Expected Behavior

Environment Summary

Linux-4.19.104-microsoft-standard-x86_64-with-debian-buster-sid
Python 3.6.10
Installer: DEB

azure-cli 2.11.1

Extensions:
interactive 0.4.4

Additional Context

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

github_iconTop Results From Across the Web

az vm | Microsoft Learn
Deallocate a VM so that computing resources are no longer allocated (charged ... az vm assess-patches [--ids] [--name] [--resource-group] [--subscription] ...
Read more >
Azure cli vm. For more information about extensions, see Use ...
To get all the available Azure VM sizes using Azure CLI from the specific location, we can use the az vm list-sizes command...
Read more >
azure-cli 2.24.2 - PyPI
Hotfix: Fix #18276: az container create fails with AttributeError: 'ResourcesOperations' object has no attribute 'create_or_update' ...
Read more >
package compute - godocs.io
func (VM VirtualMachine) MarshalJSON() ([]byte, error); func (VM ... List gets a list of container services in the specified subscription.
Read more >
https://raw.githubusercontent.com/MicrosoftDocs/az...
Support/services/problemClassifications/read | Lists one or all problem classifications ... Compute/register/action | Registers Subscription with Microsoft.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found