Skip to content

Create the Entra app registration

Create the Entra app registration

App Store for Intune uses one app registration in your tenant. It plays two roles, both bound to the same client ID:

  • Sign-in: the portal’s sign-in page redirects users here, then receives an access token scoped to access_as_user.
  • Token validation: the backend API trusts only tokens whose audience matches this client ID, then checks the scope.

A single app registration can do both: expose the access_as_user scope (the audience) and configure a Single-page application platform with redirect URIs (the sign-in surface).

  1. Go to Azure Portal > Microsoft Entra ID > App registrations.
  2. Select New registration.
  3. Name: App Store for Intune.
  4. Supported account types: Single tenant only.
  5. Redirect URI: leave empty for now. After the deploy completes you’ll add the App Service URL, see Add the production redirect URI.
  6. Select Register.
  7. Record the Application (client) ID: you’ll supply this to the Deploy to Azure wizard. This is the only value you need from the app registration: the tenant ID is detected automatically during deployment, and there’s no client secret and no second app registration.

This is what the backend uses to validate incoming tokens, and what the portal asks the user to consent to during sign-in.

  1. Select Expose an API > Add a scope.
  2. Application ID URI: accept the default (api://<client-id>).
  3. Select Save and continue.
  4. Scope name: access_as_user
  5. Who can consent: Admins and users
  6. Admin consent display name: Access App Store for Intune
  7. Admin consent description: Allows the app to access the App Store for Intune backend as the signed-in user.
  8. User consent display name: Access App Store for Intune
  9. User consent description: Allows the app to access the App Store for Intune backend on your behalf.
  10. State: Enabled
  11. Select Add scope.

Continue to Deploy to Azure.