Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

qualys-remediate-unhealthy-vms.ps1 not working #267

Closed
hassanbsee2071 opened this issue Dec 10, 2020 · 12 comments
Closed

qualys-remediate-unhealthy-vms.ps1 not working #267

hassanbsee2071 opened this issue Dec 10, 2020 · 12 comments
Labels
enhancement New feature or request

Comments

@hassanbsee2071
Copy link

I am running qualys-remediate-unhealthy-vms.ps1 script but I am facing below issue. it would be great if you can help us.

Headers : {[Cache-Control, System.String[]], [Pragma, System.String[]], [x-ms-failure-cause, System.String[]], [x-ms-request-id,
System.String[]]…}
Version : 1.1
StatusCode : 400
Method : GET
Content : {"error":{"code":"NoRegisteredProviderFound","message":"No registered resource provider found for location 'westeurope' and API
version '2019-12-01' for type 'machines'. The supported api-versions are '2019-03-18-preview, 2019-08-02-preview, 2019-12-12,
2020-03-11-preview, 2020-07-30-preview, 2020-08-02, 2020-08-15-preview'. The supported locations are 'westcentralus, westus2,
westeurope, southeastasia, eastus, australiaeast, southcentralus, eastus2, northeurope, uksouth'."}}

@liorarviv
Copy link
Contributor

Hi @hassanbsee2071 - do you have unhealthy Azure Arc machines on the recommendation or just regular Azure VMs?

@hassanbsee2071
Copy link
Author

hassanbsee2071 commented Dec 13, 2020 via email

@liorarviv liorarviv added the bug Something isn't working label Dec 13, 2020
@liorarviv
Copy link
Contributor

Thanks for the feedback. The current version does not support Azure Arc connected machines. I modified the script to include such support and now testing it. Will upload a new version by the end of tomorrow.

@liorarviv liorarviv added enhancement New feature or request and removed bug Something isn't working labels Dec 13, 2020
@hassanbsee2071
Copy link
Author

hassanbsee2071 commented Dec 13, 2020 via email

@liorarviv
Copy link
Contributor

@hassanbsee2071 I created a different issue for that matter. Can you please paste your script there?

@hassanbsee2071
Copy link
Author

hassanbsee2071 commented Dec 13, 2020 via email

@hassanbsee2071
Copy link
Author

hassanbsee2071 commented Dec 13, 2020 via email

@hassanbsee2071
Copy link
Author

hassanbsee2071 commented Dec 13, 2020 via email

@liorarviv
Copy link
Contributor

Hi @hassanbsee2071 - Please try the latest version of the remediation script which now supports Azure Arc enabled servers. Let me know if it works for you. 🙏

@hassanbsee2071
Copy link
Author

hassanbsee2071 commented Dec 14, 2020 via email

@hassanbsee2071
Copy link
Author

hassanbsee2071 commented Dec 22, 2020 via email

@liorarviv
Copy link
Contributor

Glad to hear! Thanks for the update @hassanbsee2071. I will go ahead and close this item.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants