On https://github.com/Azure-Samples/active-directory-dotnet-desktop-msgraph-v2/blob/msal3x/README.md under "Register the client app (WpfApp)" Step 5 you give the instruction that we should add the URL https://login.microsoftonline.com/common/oauth2/nativeclient as a redirect URL. However that is wrong. If you do that, you get the following error when trying to log in:
https://i.imgur.com/anPXzks.png
If you then change the Redirect URL to the suggested value "ms-appx-web://Microsoft.AAD.BrokerPlugin/{AppID}" then the login works.
The readme file should be updated to fix this step.
On https://github.com/Azure-Samples/active-directory-dotnet-desktop-msgraph-v2/blob/msal3x/README.md under "Register the client app (WpfApp)" Step 5 you give the instruction that we should add the URL https://login.microsoftonline.com/common/oauth2/nativeclient as a redirect URL. However that is wrong. If you do that, you get the following error when trying to log in:
https://i.imgur.com/anPXzks.png
If you then change the Redirect URL to the suggested value "ms-appx-web://Microsoft.AAD.BrokerPlugin/{AppID}" then the login works.
The readme file should be updated to fix this step.