Azure / Azure-Proactive-Resiliency-Library-v2

Azure Proactive Resiliency Library v2 (APRL) - Source for Azure WAF reliability guidance and associated ARG queries
https://azure.github.io/Azure-Proactive-Resiliency-Library-v2/
MIT License
61 stars 70 forks source link

🪲 Bug Report - wara collector script with Azure Government Cloud #230

Closed humblejay closed 3 months ago

humblejay commented 3 months ago

Describe the bug

A clear and concise description of what the bug is.

To Reproduce

Steps to reproduce the behavior:

  1. Download tools folder from this repo
  2. In powershell console, run .\wara_collector.ps1 -SubscriptionIds subscriptionIdinAzureGov
  3. User is redirected to the customer tenant
  4. User attempts to log in using username pwd
  5. Gets AADSTS500511

Expected behavior

Authentication should success and remaining script should run.

Screenshots 📷

image

If applicable, add screenshots to help explain your problem. Please feel free to blur/cover any sensitive information.

Additional context

Portal login with the same credentials work, just the script is not able to sign in.

humblejay commented 3 months ago

Closing this, the Environment parameter is not documented which mitigates this.