I'm attempting to set up a Current User Email Account in BC V20 On-Premise. I've already successfully set up an SMTP account. I'm following the procedure(s) on the links below:-
https://docs.microsoft.com/en-us/dynamics365/business-central/admin-how-setup-email#create-an-app-registration-for-business-central-in-azure-portal
I've gone through the steps to create an AAD App Registration, but I'm struggling with the Redirect URI. I've currently got it set to:-
localhost:8080/.../OAuthLanding.htm
I have switched on the 'Allow HttpClient Requests' in the 'Email - Current User Connector' extension settings.
When I go to the 'Email Application AAD Registration' page in BC. I enter the AAD Client ID, Secret, Redirect URI above and click [Verfiy Registration]. At this point, a blank browser window appears for a few seconds then disappears, leaving another page displaying the message below:-
Waiting for a response. Do not close this page.
A sign in window is open. To continue, pick the account you want to use and accept the conditions. This message will close when you are done.
But the sign in window has already disappeared and the message window never closes.
Where am I going wrong?