Share via

How do I integrate Microsoft Entra ID users with SQL server on SQLVM

TAMWO Arnaud 0 Reputation points
2025-12-18T14:26:09.4633333+00:00

Hello all,

I am having an issue with remotely using my business software installed on my SQLVM. I have set up the remote access to the software on my SQLVM using AVD web client. The remote access using an Entra ID test user is successfully however, once I am on the business software interface I cannot login to the SQL database as I get the error message below :

image (1)

As you can see, I opened a Desktop session (using AVD web client) on my VM to access the SAGE 100 business software but when I try to login, I get the error message because the Entra ID user is not communicating with the SQL database.

How do I resolve this?

I have tried the guideline suggested on the link below, but I am stuck at the database user permissions configurations :

https://dori-uw-1.kuma-moon.com/en-us/azure/azure-sql/database/authentication-aad-configure?view=azuresql&tabs=azure-portal

Your help is much appreciated as this is an urgent case.

Best regards

SQL Server on Azure Virtual Machines

2 answers

Sort by: Most helpful
  1. TAMWO Arnaud 0 Reputation points
    2026-01-13T00:03:47.02+00:00

    Hello Kalyani,

    I was on annual leave so I missed your 2 last posts. Ok I will try again to do what you are suggesting and let you know.

    Thanks again.


  2. TAMWO Arnaud 0 Reputation points
    2025-12-18T16:13:53.3766667+00:00

    Hello Kalyani,

    thanks for your inputs. I wonder how to check the permissions for the managed identity. Here is a screenshot of the SQL server instance with an Entra ID admin set up :

    User's image

    Also, that entra ID user is already assigned a Directory reader role as you can see here :

    User's image

    Before moving to the SQL queries part, is there anything wrong with the above configurations ?

    Thanks in advance.


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.