Courseiva

AI-102 Implement generative AI solutions Practice Question

Exhibit

{
  "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users/$entity",
  "id": "87d349ed-44d7-43e1-9a83-5f2406dee5bd",
  "displayName": "John Doe",
  "userPrincipalName": "john.doe@contoso.com",
  "businessPhones": [],
  "mobilePhone": null,
  "jobTitle": null,
  "mail": null
}

Refer to the exhibit. You are using Microsoft Graph to retrieve user information for use in a Microsoft 365 Copilot extension. The response shows that the mail and mobilePhone fields are null. What is the most likely reason?

⚠ Common exam trap

Microsoft often tests the misconception that missing data in a successful API response is due to permission issues or user type, when in reality the most likely cause is that the data simply hasn't been configured.

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

✓

The user has not configured those properties in their Microsoft Entra ID profile.

The mail and mobilePhone fields are null because the user has not populated these attributes in their Microsoft Entra ID (formerly Azure AD) profile. Microsoft Graph returns the actual stored values for these properties; if they are empty or unset, the API response will show null. This is the most common and straightforward reason for null values in user profile fields.

Answer analysis

Option-by-option breakdown

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

  • ✓

    The user has not configured those properties in their Microsoft Entra ID profile.

    Why this is correct

    Microsoft Graph returns only values populated in the directory; null mail and mobilePhone indicate those attributes were never set on the user object in Microsoft Entra ID. Missing consent or permissions would typically produce an error, not null fields.

  • ✗

    The API call required additional permissions.

    Why it's wrong here

    Insufficient permissions produce a 403 Forbidden error, or omit the property entirely, rather than returning the field with a null value. Additional scopes such as User.Read.All are the fix when Graph denies access to a property the caller lacks consent for.

  • ✗

    The user is a guest user.

    Why it's wrong here

    Guest users typically retain a mail attribute (their external address), so null mail and mobilePhone point to unpopulated directory properties rather than guest status. Guest accounts are the right consideration when troubleshooting cross-tenant access, B2B collaboration invitations, or conditional access scoped to external identities.

  • ✗

    The user does not exist in the tenant.

    Why it's wrong here

    A nonexistent user returns HTTP 404 from Microsoft Graph, not a 200 response containing a user object with null properties. This option applies when the query targets a deleted or mistyped userPrincipalName, where the request itself fails rather than returning partial data.

About these practice questions

This AI-102 question is part of Courseiva's 761-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AI-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 AI-102 exam.