Skip to content

Commit

Permalink
fix for the storage account is already taken
Browse files Browse the repository at this point in the history
  • Loading branch information
v-hongli1 committed Dec 17, 2024
1 parent 38f7f21 commit e385f17
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import com.azure.core.test.annotation.LiveOnly;
import com.azure.core.util.Configuration;
import com.azure.core.util.CoreUtils;
import com.azure.identity.DefaultAzureCredentialBuilder;
import com.azure.identity.AzurePowerShellCredentialBuilder;
import com.azure.resourcemanager.batch.models.AccountKeyType;
import com.azure.resourcemanager.batch.models.Application;
import com.azure.resourcemanager.batch.models.ApplicationPackage;
Expand Down Expand Up @@ -55,7 +55,7 @@ public class BatchTests extends TestProxyTestBase {

@Override
public void beforeTest() {
TokenCredential credential = new DefaultAzureCredentialBuilder().build();
TokenCredential credential = new AzurePowerShellCredentialBuilder().build();
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);

resourceManager = ResourceManager.configure()
Expand Down

0 comments on commit e385f17

Please sign in to comment.