-
Notifications
You must be signed in to change notification settings - Fork 286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Active Directory Interactive broken on macOS #2377
Comments
@esbenbjerre Your connection string and SQL Server info? |
Microsoft SQL Azure (RTM) - 12.0.2000.8 |
I can add that it works with this connection string (without AAD)
|
Can you show what the value of your |
It does not include backslash. It is |
What is: xxxcl.in-commodities.local\ca55c290c2a7,27650 ?? That looks like a bad server name mixing instance name and port. |
I see that's a bit misleading. It's a local alias which points to
If I enable event tracing as per this article then I see
|
Note that I do not have the |
It looks like your connection of getting routed/redirected to a server with both port and instance name specified. This is probably related to the same regression in 5.2.0 on non-Windows. The driver should be ignoring the instance name for the purposes of the socket connection since the user has already specified the port. We do plan to hotfix the issue. |
Inspired by #2394 I can confirm that it works if I specify the port number
|
Yes this issue was resolved and the issue can be closed. |
Describe the bug
When using Active Directory Interactive on macOS the browser no longer opens for authentication. It appears to reach a timeout and throws the below exception.
To reproduce
Expected behavior
Browser should open to authenticate.
Further technical details
Microsoft.Data.SqlClient version: 5.2.0
.NET target: 8.0
SQL Server version: Microsoft SQL Azure (RTM) - 12.0.2000.8
Operating system: macOS 14.3.1
Additional context
It works with Microsoft.Data.SqlClient 5.1.4 and 5.2.0-preview5.24024.3.
The text was updated successfully, but these errors were encountered: