nerdexam
Microsoft

PL-400 · Question #269

You are configuring a Microsoft Power Virtual Agents chatbot to use the authenticate option for Microsoft Teams only. You need to select the variables that will return information about the logged…

The correct answer is A. AuthToken D. IsLoggedln. When configuring a Power Virtual Agents chatbot to authenticate users in Microsoft Teams, the AuthToken variable provides the user's authentication token, and IsLoggedIn indicates whether the user is currently authenticated.

Submitted by tarun92· Apr 18, 2026

Question

You are configuring a Microsoft Power Virtual Agents chatbot to use the authenticate option for Microsoft Teams only. You need to select the variables that will return information about the logged in user. Which two variables should you use? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.

Options

  • AAuthToken
  • BUserDisplayName
  • CUserlD
  • DIsLoggedln

How the community answered

(61 responses)
  • A
    79% (48)
  • B
    7% (4)
  • C
    15% (9)

Why each option

When configuring a Power Virtual Agents chatbot to authenticate users in Microsoft Teams, the `AuthToken` variable provides the user's authentication token, and `IsLoggedIn` indicates whether the user is currently authenticated.

AAuthTokenCorrect

The `AuthToken` variable stores the authentication token generated upon successful user login, which is essential for securely accessing protected resources or user-specific information from an external identity provider.

BUserDisplayName

UserDisplayName is typically retrieved from an identity provider *after* successful authentication, often by using the AuthToken to make a subsequent call, rather than being a direct variable returned by the PVA 'Authenticate' action itself.

CUserlD

UserID is typically retrieved from an identity provider *after* successful authentication, often by using the AuthToken to make a subsequent call, rather than being a direct variable returned by the PVA 'Authenticate' action itself.

DIsLoggedlnCorrect

The `IsLoggedIn` boolean variable provides a direct status check, indicating whether the user has successfully completed the authentication process within the chatbot session, which is crucial for conditional logic.

Concept tested: Power Virtual Agents authentication variables

Source: https://learn.microsoft.com/en-us/power-virtual-agents/advanced-end-user-authentication

Community Discussion

No community discussion yet for this question.

Full PL-400 Practice