Skip to content

Azure Lighthouse related issue - when running for two delated subscriptions with same Tenant - it only picks up one #2014

@prashantnayak

Description

@prashantnayak

🐛 Problem

TODO: Customer provided access to two subscriptions (ex: contoso-prod and contoso-core) under same tenant via Azure Lighhouse.

👣 Repro steps

  1. Start PS command prompt
  2. Run Az login
  3. After login selected one of the Customer delegated subscriptions (ex contoso-core)
  4. Ran all usual commands (Invoke-WebRequest -Uri https://aka.ms/acorl/tools/costcollector -OutFile collectCostRecommendations.ps1 and .\collectCostRecommendations.ps1 -verbose"
  5. I scope it to MyScope.json file where I am only mentioning target subscription (contoso-core)
  6. It doesn't pick up any recommendation despite I see that there are Advisor recommendation in the subscription

🤔 Expected

It should output recommendations for that subscriptions in a CSV file but it doesn't output only manual recommendations.

📷 Screenshots

Image

ℹ️ Additional context

Additionally, when I use entire scope, it picks up all subscription (including @microsoft.com and also contoso-prod) but it doesn't pick up contoso-core. It's really weird. I tried restart PS, it tried with 4 other SMEs over my shoulder but it's not picking up recommendations from contoso-core, whatsoever.

🙋‍♀️ Ask for the community

We could use your help:

  1. Please vote this issue up (👍) to prioritize it.
  2. Leave comments to help us solidify the vision.

Metadata

Metadata

Assignees

Labels

Needs: Attention 👋Issue or PR needs to be reviewed by the author or it will be closed due to no activityTool: WACOACost optimization assessment tool (internal preview)

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions