Skip to content

Commit ffca456

Browse files
committed
fix: removed InteractiveCredentials
1 parent d6e8a34 commit ffca456

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

Generator/DataverseService.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -518,8 +518,6 @@ private TokenCredential GetTokenCredential(ILogger logger)
518518
if (configuration["DataverseClientId"] != null && configuration["DataverseClientSecret"] != null)
519519
return new ClientSecretCredential(configuration["TenantId"], configuration["DataverseClientId"], configuration["DataverseClientSecret"]);
520520

521-
return new InteractiveBrowserCredential();
522-
523521
return new DefaultAzureCredential(); // in azure this will be managed identity, locally this depends... se midway of this post for the how local identity is chosen: https://dreamingincrm.com/2021/11/16/connecting-to-dataverse-from-function-app-using-managed-identity/
524522
}
525523

0 commit comments

Comments
 (0)