{"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/6550","repository_url":"https://api.github.com/repos/Azure/azure-powershell","labels_url":"https://api.github.com/repos/Azure/azure-powershell/issues/6550/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-powershell/issues/6550/comments","events_url":"https://api.github.com/repos/Azure/azure-powershell/issues/6550/events","html_url":"https://github.com/Azure/azure-powershell/issues/6550","id":336299327,"node_id":"MDU6SXNzdWUzMzYyOTkzMjc=","number":6550,"title":"Make it easier to work across all subscriptions a logged in user has access to under the user context","user":{"login":"kilasuit","id":6355225,"node_id":"MDQ6VXNlcjYzNTUyMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/6355225?v=4","gravatar_id":"","url":"https://api.github.com/users/kilasuit","html_url":"https://github.com/kilasuit","followers_url":"https://api.github.com/users/kilasuit/followers","following_url":"https://api.github.com/users/kilasuit/following{/other_user}","gists_url":"https://api.github.com/users/kilasuit/gists{/gist_id}","starred_url":"https://api.github.com/users/kilasuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kilasuit/subscriptions","organizations_url":"https://api.github.com/users/kilasuit/orgs","repos_url":"https://api.github.com/users/kilasuit/repos","events_url":"https://api.github.com/users/kilasuit/events{/privacy}","received_events_url":"https://api.github.com/users/kilasuit/received_events","type":"User","site_admin":false},"labels":[{"id":187436091,"node_id":"MDU6TGFiZWwxODc0MzYwOTE=","url":"https://api.github.com/repos/Azure/azure-powershell/labels/Azure%20PS%20Team","name":"Azure PS Team","color":"DDDDDD","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/Azure/azure-powershell/milestones/3","html_url":"https://github.com/Azure/azure-powershell/milestone/3","labels_url":"https://api.github.com/repos/Azure/azure-powershell/milestones/3/labels","id":1616215,"node_id":"MDk6TWlsZXN0b25lMTYxNjIxNQ==","number":3,"title":"Backlog","description":"Triaged issues will be added to backlog","creator":{"login":"ravbhatnagar","id":2806980,"node_id":"MDQ6VXNlcjI4MDY5ODA=","avatar_url":"https://avatars3.githubusercontent.com/u/2806980?v=4","gravatar_id":"","url":"https://api.github.com/users/ravbhatnagar","html_url":"https://github.com/ravbhatnagar","followers_url":"https://api.github.com/users/ravbhatnagar/followers","following_url":"https://api.github.com/users/ravbhatnagar/following{/other_user}","gists_url":"https://api.github.com/users/ravbhatnagar/gists{/gist_id}","starred_url":"https://api.github.com/users/ravbhatnagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravbhatnagar/subscriptions","organizations_url":"https://api.github.com/users/ravbhatnagar/orgs","repos_url":"https://api.github.com/users/ravbhatnagar/repos","events_url":"https://api.github.com/users/ravbhatnagar/events{/privacy}","received_events_url":"https://api.github.com/users/ravbhatnagar/received_events","type":"User","site_admin":false},"open_issues":82,"closed_issues":108,"state":"open","created_at":"2016-03-01T19:15:11Z","updated_at":"2018-07-25T00:04:19Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-06-27T16:22:00Z","updated_at":"2018-07-25T09:11:20Z","closed_at":null,"author_association":"NONE","body":"With having more than a small handful of subscriptions you soon have requirements to be able to work across all of them at ease. In the portal we are able to just see all things and not have to log into the subscription to be able to work with it.\r\n\r\nCan the login/subscription management be overhauled to be based in the same manner as the portal as per #6549 when you have multiple subscriptions changing subscription context is not only time consuming but adds excess required code and looping within Subscriptions to be able to do some of the same tasks that you can do in the Portal.\r\n\r\nIdeally using a context that has access to 2+ subscriptions should be able to call back all resources in those subsciptions without needing to explictly change the subscription individually. \r\n\r\nHowever there should be logic implemented that would allow to be able to choose subscriptions to include/exclude under a context, something that I can manage to do very easily in the portal by choosing which subscriptions I want to query against and which ones I don't want to. This could be inplemented simple `-ExcludeSubscription` or `-IncludeSubcription` parameter."},"comment":{"url":"https://api.github.com/repos/Azure/azure-powershell/issues/comments/407688317","html_url":"https://github.com/Azure/azure-powershell/issues/6550#issuecomment-407688317","issue_url":"https://api.github.com/repos/Azure/azure-powershell/issues/6550","id":407688317,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNzY4ODMxNw==","user":{"login":"kilasuit","id":6355225,"node_id":"MDQ6VXNlcjYzNTUyMjU=","avatar_url":"https://avatars2.githubusercontent.com/u/6355225?v=4","gravatar_id":"","url":"https://api.github.com/users/kilasuit","html_url":"https://github.com/kilasuit","followers_url":"https://api.github.com/users/kilasuit/followers","following_url":"https://api.github.com/users/kilasuit/following{/other_user}","gists_url":"https://api.github.com/users/kilasuit/gists{/gist_id}","starred_url":"https://api.github.com/users/kilasuit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kilasuit/subscriptions","organizations_url":"https://api.github.com/users/kilasuit/orgs","repos_url":"https://api.github.com/users/kilasuit/repos","events_url":"https://api.github.com/users/kilasuit/events{/privacy}","received_events_url":"https://api.github.com/users/kilasuit/received_events","type":"User","site_admin":false},"created_at":"2018-07-25T09:11:20Z","updated_at":"2018-07-25T09:11:20Z","author_association":"NONE","body":"Hey @cormacpayne \r\n\r\nI some how missed this response but having a switch parameter to include all subscriptions would be good, however it would also be good to be able to just sign into azure at the tenant level, not subscription level like this is currently set to be, and be able to run commands from tenant down as opposed to being forced into a subscription. \r\n\r\nMy reason for this is that I currently manage an estate where we separate all our regions into subscriptions and regularly need to get an overview across the whole estate which is sometimes easier to do things in the portal, and suffer the lag of it, than pull it back via PowerShell, which seems backwards to me.\r\n\r\nHowever I do also think that this would be still useful to keep the ability to switch into a subscription when you want to manage just that subscription as well, so that's not something that I think should change.\r\n\r\nHopefully the additional info helps :-)"}}
{"actor":{"display_login":"kilasuit"}}