AZ-500 question

Henry van Spanje 0 Reputation points
2025-12-06T01:47:28.2+00:00

afbeelding

While adding the Microsoft Entra administrator and assigning the SQL Security Manager role are indeed prerequisites, selecting "Support only Microsoft Entra authentication for this server" is explicitly required to enable the feature is not optional. This setting is toggled in the Azure portal under the SQL server's Microsoft Entra ID settings (using a user with the SQL Security Manager role).

No connection to the data plane (e.g., via SSMS or the Azure portal's query editor) is needed; the configuration is done at the control plane (server resource) level.

So am I wrong here?

Azure | Azure Training
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Marcin Policht 67,980 Reputation points MVP Volunteer Moderator
    2025-12-06T03:01:49.72+00:00

    the question asks only for the actions required to allow Microsoft Entra-authenticated principals to access an existing Azure SQL database, not to enforce Entra-only authentication on the server.

    Because the goal is simply to enable access for Entra principals, the required steps stop at preparing the environment—not enforcing exclusive authentication. Adding a Microsoft Entra administrator establishes an initial entry point for Entra-based access, and assigning the SQL Security Manager role gives you the permissions needed to configure Entra authentication at the server level. Connecting through the Azure portal represents one way to complete the configuration using those permissions.

    Selecting Support only Microsoft Entra authentication for this server is not required for merely allowing Entra-authenticated access. That setting is used only when you want to disable SQL authentication entirely and enforce Entra-only authentication. The question does not specify disabling SQL authentication or enforcing exclusivity.

    The answer choice about connecting to database is misleading - I can only assume that this was meant to represent the task of connecting to the logical server (e.g. via Azure portal)

    Details at https://learn.microsoft.com/en-us/azure/azure-sql/database/authentication-aad-configure?view=azuresql&tabs=azure-portal and https://learn.microsoft.com/en-us/azure/azure-sql/database/authentication-azure-ad-only-authentication?view=azuresql&tabs=azure-cli

    1. In the Azure portal Directories + subscriptions pane, choose the directory that contains your Azure SQL resource as the Current directory.
    2. Search for SQL servers and then select the logical server for your database resource to open the SQL server pane. Screenshot showing how to search for and select SQL servers.
    3. On the SQL server pane for your logical server, select Microsoft Entra ID under Settings to open the Microsoft Entra ID pane.
    4. On the Microsoft Entra ID pane, select Set admin to open the Microsoft Entra ID pane. Screenshot shows the option to set the Microsoft Entra admin for SQL servers.
    5. The Microsoft Entra ID pane shows all users, groups, and applications in your current directory and allows you to search by name, alias, or ID. Find your desired identity for your Microsoft Entra admin and select it, then select Select to close the pane.
    6. At the top of the Microsoft Entra ID page for your logical server, select Save. Screenshot shows the option to save a Microsoft Entra admin. The Object ID is displayed next to the admin name for Microsoft Entra users and groups. For applications (service principals), the Application ID is displayed.

    Microsoft Entra-only authentication is a feature within Azure SQL that allows the service to only support Microsoft Entra authenticatio


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.