I found out how to do it. I created two separate queries, one connected to "Master" database to create the login, and the second connect to my database to create the user, give permissions, etc. So now I can manage the users completely from Access, no need to go to SSMS 🙂
Thanks Sean for this very useful tutorial. My question is, is it possible to create Azure users from access using passthrough query?
I'm going to say you probably can, so long as the logged in user is an admin on the Azure db.
I get the following error when I tried it "User must be in the master database", How do I change the context to Master database?
I found out how to do it. I created two separate queries, one connected to "Master" database to create the login, and the second connect to my database to create the user, give permissions, etc. So now I can manage the users completely from Access, no need to go to SSMS 🙂