You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public ActiveDirectoryAuthenticationProvider() and public ActiveDirectoryAuthenticationProvider(string applicationClientId) are not delegating initialization to public ActiveDirectoryAuthenticationProvider(Func<DeviceCodeResult, Task> deviceCodeFlowCallbackMethod, string applicationClientId).
publicActiveDirectoryAuthenticationProvider():this(DefaultDeviceFlowCallback){}
public ActiveDirectoryAuthenticationProvider(string applicationClientId):this(DefaultDeviceFlowCallback,applicationClientId){}
@smichtch thanks for bringing this up. As an open source we always welcome contribution from community. Can you make a pool request to address the possible issue that we can review that quickly?
Describe the bug
public ActiveDirectoryAuthenticationProvider()
andpublic ActiveDirectoryAuthenticationProvider(string applicationClientId)
are not delegating initialization topublic ActiveDirectoryAuthenticationProvider(Func<DeviceCodeResult, Task> deviceCodeFlowCallbackMethod, string applicationClientId)
.Instead of this:
it should be:
To reproduce
provider
still uses the default client app ID2fd908ad-0664-4344-b9be-cd3e8b574c38
instead of<my app ID>
.Expected behavior
New
ActiveDirectoryAuthenticationProvider
instances should use the client app ID specified in the constructor argument.Further technical details
Microsoft.Data.SqlClient version: 3.0.1
.NET target: net472, netcoreapp3.1, net5.0
SQL Server version: n/a
Operating system: Windows 10 Enterprise Build 19043
Additional context
None.
The text was updated successfully, but these errors were encountered: