/msal-vb-netfx

How to redirect to https://login.microsoftonline.com/ from vb.net legacy application

Primary LanguageVisual Basic .NETMIT LicenseMIT

Azure AD login from VB.NET Winforms application

This super simple demo show how to login to Azure AD from a VB.NET Winforms application. Once logged in some user information will be displayed.

Setup

  <appSettings>
    <add key="clientId" value=""/>
  </appSettings>

Run

From Visual Studio:

Press CTRL+F5

Use

Click the login button

Inspiration:

https://docs.microsoft.com/en-us/answers/questions/797067/index.html

Copyright

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License (the "License")