Skip to content
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

Deprecate Authentication=ActiveDirectoryPassword #3188

Open
David-Engel opened this issue Feb 28, 2025 · 1 comment
Open

Deprecate Authentication=ActiveDirectoryPassword #3188

David-Engel opened this issue Feb 28, 2025 · 1 comment
Labels
💡 Enhancement Issues that are feature requests for the drivers we maintain. 🆕 Triage Needed For new issues, not triaged yet.

Comments

@David-Engel
Copy link
Contributor

Given the direction of Azure authentication and enforcement of mandatory MFA, we should deprecate the ActiveDirectoryPassword Authentication option on SqlConnections. MSAL.NET and Azure.Identity are also going to deprecate their corresponding APIs.

For more details of the Azure plan, see Planning for mandatory multifactor authentication for Azure and other admin portals

I imagine this includes annotating:

public enum SqlAuthenticationMethod
{
    [Obsolete("ActiveDirectoryPassword is deprecated.")]
    ActiveDirectoryPassword

Updating the API docs (SqlAuthenticationMethod.xml), public docs, and including it in the next release announcement.

Let me know if I'm missing anything else.

@David-Engel David-Engel added 💡 Enhancement Issues that are feature requests for the drivers we maintain. 🆕 Triage Needed For new issues, not triaged yet. labels Feb 28, 2025
@ErikEJ
Copy link
Contributor

ErikEJ commented Mar 1, 2025

Maybe some connection string docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💡 Enhancement Issues that are feature requests for the drivers we maintain. 🆕 Triage Needed For new issues, not triaged yet.
Projects
None yet
Development

No branches or pull requests

2 participants