Courseiva

MS-102 Practice Question: Configuring permissions for a daemon application that runs without a user

Exhibit

Refer to the exhibit.

{
  "appId": "00000003-0000-0000-c000-000000000000",
  "displayName": "Microsoft Graph",
  "permissions": [
    {
      "name": "User.Read.All",
      "type": "Application",
      "adminConsentRequired": true,
      "userConsentPossible": false
    }
  ]
}

Refer to the exhibit. You are configuring permissions for a daemon application that runs without a user. Which permission should you request?

⚠ Common exam trap

Candidates often confuse delegated and application permissions, assuming admin consent alone makes a delegated permission suitable for a daemon app, but delegated permissions always require a user context even with admin consent.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

User.Read.All application permission with admin consent.

For a daemon application that runs without a user, you must request an application permission (not delegated) because there is no signed-in user to delegate permissions. User.Read.All application permission allows the app to read all users' full profiles without a user context, and admin consent is required because this permission grants access to data across the entire organization.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    User.Read.All application permission with admin consent.

    Why this is correct

    In an app-only daemon flow, the client authenticates with its own credentials and has no signed-in user, so the application permission is the only usable type. The exhibit shows User.Read.All with type 'Application' and adminConsentRequired true, indicating the tenant admin must consent because this scope can read every user's profile. This exactly matches the requirement for the background service.

  • ✗

    Mail.Read delegated permission with admin consent.

    Why it's wrong here

    Delegated Mail.Read is not present in the exhibit, and a delegated permission cannot serve an app-only principal; it authorizes access to a signed-in user's mailbox on the user's behalf. Even with admin consent, the runtime still requires an interactive user to create a delegated token, which a daemon cannot do. If mail were needed, an application-level Mail.Read would be required, but the exhibit's target is User.Read.All.

  • ✗

    Delegated permission type for User.Read.All.

    Why it's wrong here

    Selecting a delegated type for User.Read.All would misconfigure the app because delegated permissions rely on an access token that carries the user's context and the app's delegated rights. A daemon has no user, so Microsoft identity platform would reject client-credentials requests for this permission; the exhibit specifically lists the type as Application. Thus the correct row must be used as shown, without changing the type.

  • ✗

    User.Read.All delegated permission with user consent.

    Why it's wrong here

    This option is doubly wrong—it pairs a delegated permission with user consent in a scenario that requires no user at all. In the client-credentials flow, only application permissions can be requested, and a delegated permission would always require a sign-in user to consent or validate. Furthermore, User.Read.All is an admin-restricted scope, so a standard user cannot consent to tenant-wide read access, making the combination invalid for a daemon app.

About these practice questions

Courseiva writes every MS-102 question from scratch — 712 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

You might also like

Similar MS-102 questions

Written by Johnson Ajibi, MSc IT Security

Security Systems Architect · founder of Courseiva

This MS-102 practice question is part of Courseiva's free Microsoft certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MS-102 exam.