A community member has associated this post with a similar question:
How to get UWP to connect to an Azure SQL database with MFA

Only moderators can edit this content.

How to connect UWP C# application to Azure Sql Database MFA ?

sluu 1 Reputation point
2020-01-16T20:27:00.553+00:00

Hello,

I want to connect my Universal Windows Platform application to Azure Sql Database without exposing credentials. I would prefer to use Multi-Factor authentication or what the refer to sometimes as Interactive.

I am programming with C#/.Net. I can't find any helpful documentation anywhere that can get me on the right food to connecting.

I have my Azure Sql Database setup already with the client ID and other info.

Most of the resources online show only connections that expose the username and password which is what I do not want to do and defeats the purpose of multi factor auth.

Any good info or resources would be appreciated.

Universal Windows Platform (UWP)
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,464 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shashi Shailaj 7,581 Reputation points Microsoft Employee
    2020-01-27T09:13:26.117+00:00

    Hello @sluu ,

    This has already been answered at https://learn.microsoft.com/answers/questions/5621/how-to-get-uwp-to-connect-to-an-azure-sql-database.html . Please let us know in case any of the provided answers helped and do mark the post as answer so that its helpful to other community members searching for similar issues. In case it did not help , please do let us know and we will try to help further.

    Thank you.

    0 comments No comments