Add a redirect URL to your application's registration information. See below for how to obtain the redirect URL in Visual Studio

Click Save

Visual Studio instructions for obtaining redirect URL using SSL

In Visual Studio, configure your project to use SSL, and then use the SSL URL to configure your application’s registration information using the instructions below:
1. In Solution Explorer, select the project and look at the Properties window (if you don’t see a Properties window, press F4)
2. Copy the value from SSL URL to the clipboard
3. Select the Project menu and then select {Project} Properties... (where {Project} is the name of your project)
4. Open the Web tab
5. Paste the value of SSL URL in the Project Url field
6. Switch back to the Application Registration Portal and paste the value in the Redirect URL as redirect URL, then click Save

Configure your JavaScript SPA application

Open msalconfig.js file and replace Enter_the_Application_Id_here with the Application Id you just registered

Community Help and Support

We use Stack Overflow with the community to provide support. We highly recommend you ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before.