File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/ResourceManager/Profile Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 19
19
-->
20
20
## Current Release
21
21
* Set minimum dependency of module to PowerShell 5.0
22
+ * Enable context autosave by default
23
+ * Create a context for each subscription when running ` Connect-AzureRmAccount ` with no previous context
22
24
23
25
## Version 4.6.0
24
26
* Updated to the latest version of the Azure ClientRuntime
Original file line number Diff line number Diff line change @@ -227,7 +227,6 @@ public AzureRmProfile Login(
227
227
}
228
228
229
229
bool shouldPopulateContextList = _profile . DefaultContext ? . Account == null ;
230
-
231
230
if ( newSubscription == null )
232
231
{
233
232
if ( subscriptionId != null )
@@ -263,7 +262,6 @@ public AzureRmProfile Login(
263
262
264
263
_profile . DefaultContext . TokenCache = _cache ;
265
264
var defaultContext = _profile . DefaultContext ;
266
-
267
265
if ( shouldPopulateContextList )
268
266
{
269
267
var subscriptions = ListSubscriptions ( tenantId ) ;
You can’t perform that action at this time.
0 commit comments