Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Create users from Microsoft Entra identities

A worked example

Multiple answers

You manage an Azure SQL Database logical server named sql1 that hosts a database named DB1. A Microsoft Entra admin is set for sql1.

A colleague assigned the Azure built-in role SQL DB Contributor on sql1 to a Microsoft Entra group named SalesAnalysts. Members of SalesAnalysts try to connect to DB1 by using Microsoft Entra MFA, but the connections fail. No database user exists in DB1 for SalesAnalysts.

You plan to create a contained database user for SalesAnalysts in DB1.

Which two statements correctly describe the access issue and its solution? Each correct answer presents part of the solution. Select two.

Choose 2 answers.
Why

The SQL DB Contributor assignment does not itself grant the group access to DB1. Create the contained Microsoft Entra database user by executing CREATE USER ... FROM EXTERNAL PROVIDER in DB1. This user maps directly to the group's Microsoft Entra identity and requires no login in master.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free