File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/Common/Commands.Profile/Subscription Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -150,7 +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 . GetProperty ( AzureSubscription . Property . Tenants ) ;
153
+ psObject . TenantId = subscription . GetPropertyAsArray ( AzureSubscription . Property . Tenants ) . FirstOrDefault ( ) ;
154
154
return psObject ;
155
155
}
156
156
You can’t perform that action at this time.
0 commit comments