File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
src/Common/Commands.Profile Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -27,5 +27,6 @@ public class PSAzureSubscription
27
27
public bool IsDefault { get ; set ; }
28
28
public bool IsCurrent { get ; set ; }
29
29
public string CurrentStorageAccountName { get ; set ; }
30
+ public string TenantId { get ; set ; }
30
31
}
31
32
}
Original file line number Diff line number Diff line change @@ -150,6 +150,7 @@ private PSAzureSubscription ConstructPsAzureSubscription(AzureSubscription subsc
150
150
psObject . IsDefault = subscription . IsPropertySet ( AzureSubscription . Property . Default ) ;
151
151
psObject . IsCurrent = AzureSession . CurrentContext . Subscription != null && AzureSession . CurrentContext . Subscription . Id == subscription . Id ;
152
152
psObject . CurrentStorageAccountName = subscription . GetProperty ( AzureSubscription . Property . StorageAccount ) ;
153
+ psObject . TenantId = subscription . GetPropertyAsArray ( AzureSubscription . Property . Tenants ) . FirstOrDefault ( ) ;
153
154
return psObject ;
154
155
}
155
156
You can’t perform that action at this time.
0 commit comments