From 04862f76940d1b24145d7d030b6532b6948a0be0 Mon Sep 17 00:00:00 2001 From: James May Date: Wed, 23 Sep 2026 18:25:24 +1000 Subject: [PATCH] registerapplication.md: add redirect url for WAM / -OsLogin --- pages/articles/registerapplication.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/pages/articles/registerapplication.md b/pages/articles/registerapplication.md index 67cb91d62b..cf7d106a75 100644 --- a/pages/articles/registerapplication.md +++ b/pages/articles/registerapplication.md @@ -68,14 +68,16 @@ Another option is to manually create the application registration in Entra ID. W ![image](../images/registerapplication/entraid_new_app_authentication_add_platform_desktop.png) -1. Leave the three boxes shown in the panel on the right unchecked and in the _Custom redirect URIs_ field, enter: - - http://localhost - - Note that this should really be `http` and NOT `https` - - Click on _Configure_ at the bottom - +1. Leave the three boxes shown in the panel on the right unchecked and in the _Custom redirect URIs_ field, enter: + + a. `http://localhost` + Note this is `http` and NOT `https`. + + a. If you would like to use the [Web Account Manager (WAM)](https://learn.microsoft.com/entra/msal/dotnet/acquiring-tokens/desktop-mobile/wam#redirect-uri) via the `-OsLogin` parameter, also add: + `ms-appx-web://microsoft.aad.brokerplugin/{client_id}` replacing `{client_id}` with the client id of the app registration you just created. + + a. Click on _Configure_ at the bottom + ![image](../images/registerapplication/entraid_new_app_authentication_add_platform_desktop_redirecturis.png) 1. Under _Manage_ go to _API permissions_