diff --git a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj
index 05cbdecc062c..7293aa732894 100644
--- a/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj
+++ b/src/ServiceManagement/Services/Commands.Test/Commands.Test.csproj
@@ -415,6 +415,9 @@
Always
+
+ PreserveNewest
+
diff --git a/src/ServiceManagement/Services/Commands.Test/Profile/SelectAzureSubscriptionTests.ps1 b/src/ServiceManagement/Services/Commands.Test/Profile/SelectAzureSubscriptionTests.ps1
index e350d6e531b8..fb7366f977aa 100644
--- a/src/ServiceManagement/Services/Commands.Test/Profile/SelectAzureSubscriptionTests.ps1
+++ b/src/ServiceManagement/Services/Commands.Test/Profile/SelectAzureSubscriptionTests.ps1
@@ -19,9 +19,7 @@ Tests creating new azure profile with access token
function Test-StorageAccountIsNotCleaned
{
Set-AzureSubscription -SubscriptionId 2c224e7e-3ef5-431d-a57b-e71f4662e3a6 -CurrentStorageAccount teststorage1220
- Select-AzureSubscription -SubscriptionId 2c224e7e-3ef5-431d-a57b-e71f4662e3a6
- $subscription = Get-AzureSubscription -SubscriptionId 2c224e7e-3ef5-431d-a57b-e71f4662e3a6
- $storageContainer = Get-AzureStorageContainer
- Assert-NotNull $($subscription.CurrentStorageAccountName)
- Assert-NotNull $($storageContainer)
+ Select-AzureSubscription -SubscriptionId 2c224e7e-3ef5-431d-a57b-e71f4662e3a6
+ $subscription = Get-AzureSubscription -SubscriptionId 2c224e7e-3ef5-431d-a57b-e71f4662e3a6
+ Assert-NotNull $($subscription.CurrentStorageAccountName)
}