i can able to fetch subscription names based on the parameter1
resourcecontainers | where type == "microsoft.resources/subscriptions" | where name contains ({Environment}) | project name