Task 2
You need to configure your user account as the Azure AD admin for the server named sql3700689S.
Answer: To configure your user account as the Azure AD admin for the server named sql3700689S, you can use the Azure portal or the Azure CLI.
Here are the steps for both methods: Using the Azure portal:
Go to the Azure portal and select SQL Server C Azure Arc.
Select the server named sql3700689S and click on Active Directory admin.
Click on Set admin and choose your user account from the list of Azure AD users.
Click on Select and then Save to confirm the change.
You can verify the Azure AD admin by clicking on Active Directory admin again and checking the current admin.
Using the Azure CLI:
Install the Azure CLI and log in with your Azure account.
Run the following command to get the object ID of your user account: az ad user show –id <your-user-name> –query objectId -o tsv
Run the following command to set your user account as the Azure AD admin for the server: az sql server ad-admin create –server sql3700689S –object-id <your-object-id> –display-name <your-user-name>
You can verify the Azure AD admin by running the following command: az sql server ad-admin show – -server sql3700689S
These are the steps to configure your user account as the Azure AD admin for the server named sql3700689S.
Latest DP-300 Dumps Valid Version with 176 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund