diff --git a/doc/snippets/Microsoft.Data.SqlClient/ActiveDirectoryAuthenticationProvider.xml b/doc/snippets/Microsoft.Data.SqlClient/ActiveDirectoryAuthenticationProvider.xml
index 607ee31342..b66bbf809e 100644
--- a/doc/snippets/Microsoft.Data.SqlClient/ActiveDirectoryAuthenticationProvider.xml
+++ b/doc/snippets/Microsoft.Data.SqlClient/ActiveDirectoryAuthenticationProvider.xml
@@ -23,8 +23,16 @@
The callback method to be used by driver when performing 'Active Directory Device Code Flow' authentication.
- Set's callback method that overrides driver's default implementation to process result when performing 'Active Directory Device Code Flow' authentication.
+ Sets callback method that overrides driver's default implementation to process result when performing 'Active Directory Device Code Flow' authentication.
+
+ A function to return the current window or the parent as an object, in order to be used from shared NetStandard assemblies.
+ Sets a reference to the ViewController (if using Xamarin.iOS), Activity (if using Xamarin.Android) IWin32Window or IntPtr (if using .Net Framework). Used for invoking the browser for Active Directory Interactive authentication.
+
+
+ Customer implementation for the Web UI
+ Sets a custom Web UI that will let the user sign-in with Azure AD, present consent if needed, and get back the authorization code. Applicable when working with Active Directory Interactive authentication.
+
The authentication method.
This method is called immediately before the provider is added to SQL drivers registry.
diff --git a/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ActiveDirectoryAuthenticationProvider.cs b/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ActiveDirectoryAuthenticationProvider.cs
index 6589f9a077..9a862794f4 100644
--- a/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ActiveDirectoryAuthenticationProvider.cs
+++ b/src/Microsoft.Data.SqlClient/src/Microsoft/Data/SqlClient/ActiveDirectoryAuthenticationProvider.cs
@@ -8,6 +8,7 @@
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Identity.Client;
+using Microsoft.Identity.Client.Extensibility;
namespace Microsoft.Data.SqlClient
{
@@ -18,6 +19,8 @@ public sealed class ActiveDirectoryAuthenticationProvider : SqlAuthenticationPro
private readonly string _type = typeof(ActiveDirectoryAuthenticationProvider).Name;
private readonly SqlClientLogger _logger = new SqlClientLogger();
private Func _deviceCodeFlowCallback;
+ private Func