Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
3db6009
Enable WAM Broker support for Entra ID Auth modes
cheenamalhotra May 13, 2026
7a0a460
Add test connection project for validating WAM broker behavior on UI …
cheenamalhotra Jun 6, 2026
d23e4a6
Merge branch 'main' into dev/cheena/entra-wam-broker
cheenamalhotra Jun 6, 2026
bc5178a
Update redirectURI + minor changes
cheenamalhotra Jun 6, 2026
240e5ce
Merge branch 'dev/cheena/entra-wam-broker' of https://github.com/dotn…
cheenamalhotra Jun 6, 2026
bca2a62
Comments/cleanup
cheenamalhotra Jun 6, 2026
58083b6
Update config file
cheenamalhotra Jun 6, 2026
fd54502
Update Redirect URI for Unix
cheenamalhotra Jun 6, 2026
b657f32
Remove duplication
cheenamalhotra Jun 6, 2026
01529eb
Fix unix build
cheenamalhotra Jun 6, 2026
152b44e
Apply suggestions from code review
cheenamalhotra Jun 6, 2026
fff68be
Apply suggestions from code review
cheenamalhotra Jun 6, 2026
17564ca
Apply suggestions from code review
cheenamalhotra Jun 6, 2026
0d105e0
Update comment
cheenamalhotra Jun 6, 2026
97fce03
useWamBroker option and tests
cheenamalhotra Jun 9, 2026
de30171
Merge branch 'main' into dev/cheena/entra-wam-broker
cheenamalhotra Jun 9, 2026
84949bb
Update api and docs
cheenamalhotra Jun 9, 2026
82a2d4e
handle .net standard
cheenamalhotra Jun 10, 2026
f14c637
Remove specs
cheenamalhotra Jun 10, 2026
81312dc
Add collection, address docs
cheenamalhotra Jun 10, 2026
5683852
fix: allow AzureSqlConnector fallback build on non-Windows
Copilot Jun 10, 2026
3f91b03
Address feedback
cheenamalhotra Jun 17, 2026
d23b760
Address comments/more changes
cheenamalhotra Jun 17, 2026
449d289
Verify Sibling Assembly
cheenamalhotra Jun 17, 2026
90760e3
Deprecation note for future
cheenamalhotra Jun 17, 2026
69b3787
Support clearing user token cache to enable retesting token acquisiti…
cheenamalhotra Jun 17, 2026
b44ece5
More improvements, clear token cache properly + fix device code flow …
cheenamalhotra Jun 17, 2026
b82106d
Remove temp file
cheenamalhotra Jun 17, 2026
3064e77
Apply suggestions from code review
cheenamalhotra Jun 17, 2026
d436a77
Remove unwanted new ctors, fix errors
cheenamalhotra Jun 17, 2026
6ef039e
Merge branch 'dev/cheena/entra-wam-broker' of https://github.com/dotn…
cheenamalhotra Jun 17, 2026
8c89141
Address PR review: fix </param>, expand WamBroker tests, README note
cheenamalhotra Jun 17, 2026
ff4f373
More improvements + tests
cheenamalhotra Jun 17, 2026
da1929d
Last Updates
cheenamalhotra Jun 17, 2026
681b64f
Update MSAL as well
cheenamalhotra Jun 17, 2026
e628e2b
Potential fix for pull request finding
cheenamalhotra Jun 17, 2026
f8a7c96
Merge branch 'main' into dev/cheena/entra-wam-broker
cheenamalhotra Jun 17, 2026
7eac499
Removed unwanted changes
cheenamalhotra Jun 18, 2026
744af8d
Missing doc
cheenamalhotra Jun 18, 2026
c003f4a
Final changes
cheenamalhotra Jun 18, 2026
8a72de1
More updates, rename options type
cheenamalhotra Jun 18, 2026
ed46a31
Update provider instance initialization flow, other minor changes
cheenamalhotra Jun 18, 2026
b802a2e
Disable broker for AAD Password auth (not supported by MSAL unless us…
cheenamalhotra Jun 18, 2026
a63ac86
Revert "Disable broker for AAD Password auth (not supported by MSAL u…
cheenamalhotra Jun 19, 2026
5fdca68
Remove AAD Password auth tests
cheenamalhotra Jun 19, 2026
9e703ed
Fix wording
cheenamalhotra Jun 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@

<ItemGroup>
<PackageVersion Include="Azure.Identity" Version="1.18.0" />
<PackageVersion Include="Microsoft.Identity.Client.Broker" Version="4.83.0" />
Comment thread
mdaigle marked this conversation as resolved.
Outdated
</ItemGroup>

<!-- ===================================================================== -->
Expand Down
55 changes: 55 additions & 0 deletions doc/apps/AzureSqlConnector/AzureSqlConnector.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<Project Sdk="Microsoft.NET.Sdk">

<!--
WinForms WAM-broker sample. The app itself only runs on Windows because it
depends on net481, WinForms, and the WAM broker. We still need the project to
restore cleanly on Linux/macOS so the solution (.slnx) can be loaded and
restored in cross-platform CI; on those hosts we degrade to a no-op
netstandard2.0 target that builds nothing and references nothing.
-->
<PropertyGroup>
<TargetFramework Condition="'$(OS)' == 'Windows_NT'">net481</TargetFramework>
Comment thread
paulmedynski marked this conversation as resolved.
Outdated
<TargetFramework Condition="'$(OS)' != 'Windows_NT'">netstandard2.0</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

<!-- Windows: real WinForms executable. -->
<PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
<OutputType>WinExe</OutputType>
<RootNamespace>Microsoft.Data.SqlClient.Samples.AzureSqlConnector</RootNamespace>
<AssemblyName>AzureSqlConnector</AssemblyName>
<UseWindowsForms>true</UseWindowsForms>
<LangVersion>latest</LangVersion>
<Nullable>disable</Nullable>
<Platforms>AnyCPU</Platforms>
Comment thread
cheenamalhotra marked this conversation as resolved.
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
</PropertyGroup>

<!--
Non-Windows: suppress compilation entirely. Sources use WinForms APIs that
are not available on netstandard2.0, so we disable default compile items
and skip the build phase to keep `dotnet restore` / `dotnet build`
succeeding on Linux and macOS agents.
-->
<PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<NoBuild>true</NoBuild>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
</PropertyGroup>

<!--
SqlClient project references are Windows-only. Microsoft.Data.SqlClient
only exposes a net462 TFM on Windows builds, so referencing it from a
non-Windows TFM produces NU1201. Skipping the references here keeps the
netstandard2.0 fallback restorable on Linux/macOS.

Pre-requisites for the Windows build:
1. `dotnet tool restore` must be run at the repo root.
2. `msbuild` should be run from the repo root so all dependencies resolve.
Comment thread
paulmedynski marked this conversation as resolved.
Outdated
-->
<ItemGroup Condition="'$(OS)' == 'Windows_NT'">
<ProjectReference Include="..\..\..\src\Microsoft.Data.SqlClient.Extensions\Azure\src\Azure.csproj" />
<ProjectReference Include="..\..\..\src\Microsoft.Data.SqlClient\src\Microsoft.Data.SqlClient.csproj" />
</ItemGroup>

</Project>
10 changes: 10 additions & 0 deletions doc/apps/AzureSqlConnector/Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<!-- We purposely do not include any parent Directory.Build.props files. -->

<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>

</Project>
27 changes: 27 additions & 0 deletions doc/apps/AzureSqlConnector/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<!-- We purposely do not include any parent Directory.Packages.props files. -->

<PropertyGroup>
Comment thread
paulmedynski marked this conversation as resolved.
Outdated
<!-- Pin to a SqlClient version that is available on the governed feed and satisfies the >=7.0.2 requirement of Microsoft.Data.SqlClient.Extensions.Azure 1.0.0. -->
<SqlClientVersion>7.1.0-preview1.26124.5</SqlClientVersion>

<!--
Microsoft.Data.SqlClient 7.x moved the Active Directory authentication
providers (including the one that drives the ActiveDirectoryInteractive
browser sign-in UI) into a separate package. We must reference it
explicitly so the providers register at startup.
-->
<AzureExtensionsVersion>1.0.0</AzureExtensionsVersion>
<AbstractionsExtensionsVersion>1.0.0</AbstractionsExtensionsVersion>
</PropertyGroup>

<!-- SqlClient Packages -->
<ItemGroup>
<PackageVersion Include="Microsoft.Data.SqlClient" Version="$(SqlClientVersion)" />
<PackageVersion Include="Microsoft.Data.SqlClient.Extensions.Azure" Version="$(AzureExtensionsVersion)" />
<PackageVersion Include="Microsoft.Data.SqlClient.Extensions.Abstractions" Version="$(AbstractionsExtensionsVersion)" />
</ItemGroup>

</Project>
Loading
Loading