Implementing Analytics Solutions Using Microsoft Fabric — Question 197

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem.

After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.

Your network contains an on-premises Active Directory Domain Services (AD DS) domain named contoso.com that syncs with a Microsoft Entra tenant by using Microsoft Entra Connect.

You have a Fabric tenant that contains a semantic model.

You enable dynamic row-level security (RLS) for the model and deploy the model to the Fabric service.

You query a measure that includes the USERNAME() function, and the query returns a blank result.

You need to ensure that the measure returns the user principal name (UPN) of a user.

Solution: You update the measure to use the USEROBJECTID() function.

Does this meet the goal?

Answer options

Correct answer: B

Explanation

The solution does not meet the goal because the USEROBJECTID() function returns the unique object ID of the user rather than the user principal name (UPN). The correct approach should involve using the USERNAME() function, which is designed to return the UPN of the user, thus addressing the requirement.