Skip to content

Add the production redirect URI

Add the production redirect URI

Before anyone can sign in to the portal, the App Store app registration needs to know which URL the user will be redirected to after authentication. The App Service URL is generated during deploy and is shown in the deployment outputs.

If you captured the appUrl value from the deployment outputs during Deploy to Azure, use that. It looks like https://<sitename>.azurewebsites.net.

If you didn’t capture it, retrieve it now:

  1. Go to Azure Portal > your resource group > Deployments.
  2. Select the deployment that just completed.
  3. Select Outputs in the left navigation.
  4. Copy the value of appUrl.

Or, from the App Service directly: Azure Portal > App Service > your App Store App Service > Overview > Default domain.

  1. Go to Microsoft Entra admin center > App registrations.

  2. Select your App Store app registration.

  3. Select Authentication (Preview) in the left navigation. Some tenants may still show this as just Authentication during Microsoft’s rollout, both paths reach the same configuration.

  4. Select + Add Redirect URI.

    Authentication (Preview) blade for the App Store app registration with the + Add Redirect URI button visible

  5. In the Select a platform to add redirect URI dialog, select Single-page application.

    Select a platform dialog showing Web, Single-page application, iOS / macOS, Android, and Mobile and desktop applications tiles

  6. In the Add Redirect URI dialog, fill in:

    • Redirect URI: your App Service URL or custom domain URL, with no trailing slash and no path. For example: https://<sitename>.azurewebsites.net or https://apps.yourdomain.com.
    • Front-channel logout URL: leave blank.
    • Implicit grant and hybrid flows: leave both Access tokens and ID tokens checkboxes unchecked. The App Store frontend uses MSAL.js v2 with the Authorization Code + PKCE flow, which doesn’t need either of those legacy tokens.

    Add Redirect URI dialog for the Single-page application platform with Redirect URI filled in, Front-channel logout URL blank, and both implicit grant checkboxes unchecked

  7. Select Save at the bottom of the dialog.

Continue to Sign in and verify.