Can't enable Microsoft Entra authentication for SQL Server 2022 enabled by Azure Arc

Sergey Avramenko 20 Reputation points
2025-04-08T12:20:35.78+00:00

I'm going through the documentation's article: https://learn.microsoft.com/en-us/sql/sql-server/azure-arc/entra-authentication-setup-tutorial?view=sql-server-ver16

I successfully done with all steps until the described below.

At the step "Configure Microsoft Entra authentication for SQL Server through Azure portal" getting the error:
Exception occurred while downloading AAD certificate. https://some-vault.vault.azure.net/secrets/EXAMPLE-SQL-VM-Cert?api-version=7.1: Response status code does not indicate success: 403 (Forbidden).Exception occurred while downloading AAD certificate. https://some-vault.vault.azure.net/secrets/EXAMPLE-SQL-VM-Cert?api-version=7.1

Actually I don't have secrets at this key vault at all, but I have a certificate which I'm using for enable Microsoft Entra authentication at this step. But why it's trying to get secret instead of certificate? I understand that it is trying to get secret instead of certificate, because I see the secrets word in the link: https://some-vault.vault.azure.net/**secrets**/EXAMPLE-SQL-VM-Cert?api-version=7.1

Azure Arc
Azure Arc
A Microsoft cloud service that enables deployment of Azure services across hybrid and multicloud environments.
504 questions
{count} votes

Accepted answer
  1. Pranay Reddy Madireddy 4,250 Reputation points Microsoft External Staff
    2025-04-09T20:21:20.2266667+00:00

    Hi Sergey Avramenko,
    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.

    Issue:
    Can't enable Microsoft Entra authentication for SQL Server 2022 enabled by Azure Arc

    Solution:
    Issue resolved by @Sergey Avramenko
    Service-managed certificate, which created one in Key Vault but showed a message about needing admin consent for the app 'AZURE-APP'. After setup, login via SSMS failed, and the Admin Login in Entra ID wasn’t configured. Once I set it up again using the Azure-generated certificate, the settings saved successfully, and I was able to log in using Entra MFA.

    If you have any other questions or are still running into more issues, please let me know. Thank you again for your time and patience throughout this issue.

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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