Skip to content

Commit d0332c1

Browse files
committed
Change ADAL prompt behavior to Never
1 parent 3d592ee commit d0332c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ResourceManager/KeyVault/Commands.KeyVault/Models/DataServiceCredential.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ private Tuple<IAccessToken, string> GetToken(IAuthenticationFactory authFactory,
8585

8686
try
8787
{
88-
var accesstoken = authFactory.Authenticate(context.Account, context.Environment, TenantId, null, ShowDialog.Auto,
88+
var accesstoken = authFactory.Authenticate(context.Account, context.Environment, TenantId, null, ShowDialog.Never,
8989
resourceIdEndpoint);
9090

9191
return Tuple.Create(accesstoken, context.Environment.Endpoints[resourceIdEndpoint]);

0 commit comments

Comments
 (0)