I was able to add Azure Active Directory Users to Azure Sql server. My question is not related in including or removing an Azure AD user, but its existence after the user ceases himself/herself.

My concern here is, will Azure SQL automatically remove the user from the DB and its grants or will the user be disabled?

Thank You,


I just tested this out in my Azure tenant.

  1. Created a new Azure AD user
  2. Added the test user to my Azure SQL DB.
  3. Logged in as the test user and verified access.
  4. Deleted the test user from Azure AD.
  5. Confirmed: Azure SQL does not automatically remove the user from the DB.

Moreover this user retained access to the db for quite a while after the user record was deleted... I did a db rename to disconnect the users from the db and then tried to log in again and was denied.

You might be better off managing access to the database using Azure AD groups instead of adding individual users.

| improve this answer | |
  • Thank you very much for the information. Very much needed this for my feasibility. – hiFI Mar 5 '19 at 4:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.