PL-400 · Question #311
PL-400 Question #311: Real Exam Question with Answer & Explanation
The correct answer is B: UserDisplayName. To retrieve specific details about an authenticated user in a Power Virtual Agents chatbot for Microsoft Teams, you should use the UserDisplayName and UserID variables.
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
- CUserID
- DIsLoggedIn
Explanation
To retrieve specific details about an authenticated user in a Power Virtual Agents chatbot for Microsoft Teams, you should use the UserDisplayName and UserID variables.
Common mistakes.
- A. AuthToken represents the actual authentication token, not information about the user like their name or ID.
- D. IsLoggedIn is a boolean variable that indicates whether a user is authenticated or not, rather than providing specific user identity details.
Concept tested. Power Virtual Agents user authentication variables
Reference. https://learn.microsoft.com/en-us/power-virtual-agents/configuration-end-user-authentication
Community Discussion
No community discussion yet for this question.