Git Product home page Git Product logo

Comments (5)

SaibabaBalapur-MSFT avatar SaibabaBalapur-MSFT commented on July 25, 2024

@AttilaAts
Thanks for your feedback! We will investigate and update as appropriate.

from entra-docs.

SaibabaBalapur-MSFT avatar SaibabaBalapur-MSFT commented on July 25, 2024

@AttilaAts
It is possible to use a managed identity to access Azure SQL Database from a Windows service running on a Windows VM. However, it is not possible to use a managed identity from a computer that is a member of a Windows AD domain that is linked to Microsoft Entra ID. Managed identities are only available for Azure resources, not for on-premises resources.

In your case, you can use a managed service account to run the Windows service and connect to the Azure SQL database. Alternatively, you can use a service principal to authenticate to Azure SQL Database.

To use a service principal, you need to create an Azure AD application and assign it the necessary permissions to access Azure SQL Database. You can then use the client ID and client secret of the Azure AD application to authenticate to Azure SQL Database.

Here is a tutorial that walks you through the process of using a Windows VM system-assigned managed identity to access Azure SQL Database: https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/tutorial-windows-vm-access-sql.

I hope this helps! Let me know if you have any further questions.

from entra-docs.

AttilaAts avatar AttilaAts commented on July 25, 2024

from entra-docs.

SaibabaBalapur-MSFT avatar SaibabaBalapur-MSFT commented on July 25, 2024

@AttilaAts
I'm going to assign this to the document author so they can take a look at it accordingly.

@barclayn
Please review it.

from entra-docs.

SaibabaBalapur-MSFT avatar SaibabaBalapur-MSFT commented on July 25, 2024

@AttilaAts
I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
Teams Q&A forum for technical questions about the configuration and administration of Microsoft Teams on Windows.
Microsoft Teams Community forum

from entra-docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.