New LoginManager cannot see all users

Hi all,
Just trying to get to grips with users and roles in Azure, and I've hit a couple of questions.
Here's the process I've been through.
I created a new server
I exported a database from an existing SQL Server as a bacpac file, and successfully imported it into Azure (this step I'm hazy on the details, because I only did it the once, and it was a while back now!)
I connected an existing MS Access front end to the Azure SQL Database successfully.
This database is for a client with half a dozen staff. All works well.
Going through the database in more detail today, I noticed that the database in question has users for the staff at my client, but not a user called Andrew - which I've always logged in as. Looking more closely, I see that the Login of Andrew, which I understand
was created as part of the provisioning process when I set up Azure SQL Database, is mapped to dbo within the database.
In order to keep things simple, I decided today to create a new user "Andrew" on the database, which would map to the Server login of Andrew. To do so, I used this statement:
CREATE USER andrew
FOR LOGIN Andrew
However, the following message was returned:
'Andrew' is not a valid login or you do not have permission.
This confuses me, as I can see that the login Andrew does exist, both when I look at the Security > Logins object within SSMS, and if I issue the statement
SELECT * FROM sys.sql_logins
So, I thought that maybe the solution would be to create a new Login, called AndrewR, and then create a new User on the database (and on the master database), also called AndrewR. This I did, and then I used the following two statements (while logged in
to the Master database as the original Andrew account):
exec sp_addrolemember 'loginmanager' , 'AndrewR'
exec sp_addrolemember 'dbmanager' , 'AndrewR'
Now, all seems good, in that the login is created successfully, as is the user. However, I now have the following problems:
When I log in to master as AndrewR (the new user) I can see all the databases. But I can't see any user except AndrewR, dbo, guest, sys and INFORMATION_SCHEMA. When I log in as the original login (Andrew) I can see all the users on all the databases.
Despite having granted loginmanager role to AndrewR, when logged in as AndrewR if I try to create a new user, I get a strange error:
Password validation failed. The password does not meet policy requirements because it is not complex enough.
This would make sense except that the password I've tried to assign is 'drtrtDSP()*)_IPOJTh1s_FREDpw1!' which is about as complex as I can come up with!
None of this solves my original issue of trying to create a user called Andrew to match the original Login of Andrew.
I'm sorry to post several questions in one post, but they seem to me to be all part of this same issue.
Can anyone help or provide guidance?
Incidentally, I've read (several times!) the information at http://msdn.microsoft.com/en-us/library/ee336235.aspx - this is where I've gained what little knowledge I have!
Many thanks
Andrew

Hello
Andrew,<o:p></o:p>
Thank you
for the explanation. Is there is a specific reason why you want to create a
user 'Andrew' for the Server-level principal login 'Andrew'. Cause - <o:p></o:p>
1. The
database user in the master database corresponding to the server-level
principal login cannot be altered or dropped.
2. Although the server-level principal login is not a member of the two
database roles dbmanager and loginmanager in the master database, it has all
permissions granted to these two roles.<o:p></o:p>
Please refer msdn.microsoft.com/en-us/library/azure/ff394108.aspx#logins and msdn.microsoft.com/en-us/library/ee336235.aspx#DatabasePerms for details.
Also, I
believe only the creator of the database(and the server-level principal login)
can create users in that database. For ex - <o:p></o:p>
After you
created user AndrewR and granted it the dbmanager and loginmanager roles.<o:p></o:p>
1. Connect to the database server(master database) as AndrewR.<o:p></o:p>
2. Create a new database AndrewDB and a new login AndrewR1, like below - <o:p></o:p>
create database AndrewDB<o:p></o:p>
create login AndrewR1<o:p></o:p>
exec sp_addrolemember 'loginmanager' , 'AndrewR1'<o:p></o:p>
exec sp_addrolemember 'dbmanager' , 'AndrewR1'<o:p></o:p>
3. Connect to the database AndrewDB as AndrewR<o:p></o:p>
Create user AndrewR1 for login
AndrewR1                       
-------à this works.<o:p></o:p>
I hope this
helps. <o:p></o:p>

Similar Messages

  • Exchange 2013 EAC Service Pack 1 New mailbox cannot see all OUs when selecting Browse with "Exchange Organization Management " permissions

    Single forest 2 Domains. When I go to create a new mailbox in the Exchange Admin  Centre and "Browse" the Organizational Unit. I can only see a few OU in the Parent Domain and most in the Child Domain. I have tried "expand All" and
    cannot see anywhere in the EAC to set a "Recipient Scope". The account I am using has "Exchange Organization Management " rights and is a Domain Admin as well.
    The Exchange servers are members of the Root Domain.
    In the "Select an Organizational Unit" menu there is a message "There are more results available than are currently displayed". I have tried searching as well and cannot find OUs that I should be able to.
    All the servers have had Exchange 2013 Service pack 1 installed.
    Any suggestions?
    Regards,
    John

    Changing that setting resulted in the ECP site being inaccessible. So I changed it back
    I have copied the user accounts to test with.
    Originals:
    User1: can see OU's when making a new user through the ECP (access: domain, exchange recipient admin)
    User2: cannot. (Enterprise, domain, exchange, schema admin)
    Test users:
    test user1: copied from user 1, cannot see any OU's when creating a new user.
    test user2: copied from user 2, can see all OU's when creating a new user.

  • RAU Add User - Cannot see all users in Oracle User  Name

    New to Desginer Designer 9i version 9.0.2.80.10
    with a new repository installed on a 9.2.0.3.0
    database.
    While attempting to add an existing user with the
    repository admin utility, the repository user
    properties panel/Oracle User Name drop down box
    does not display the user I need to add. In fact
    several users (schemas) are missing. What am I doing
    wrong?
    virgil

    Hi,
    I'm having some problems too, kind of the same thing.
    I've created a user test, i can connect using sql, toad to the database, but if i try to connect to any designer app, i get this CDR-20002 invalid user.
    If i go to RAU, RON i can see my user test and i can grant access to my app. system/container, i've granted all the options from user management but i can't connect.
    Am I missing some privilege ?
    I did the grant connect, resource to test, and all the privileges mentioned in the documentation.
    Best regards

  • I cannot see all preferences options

    Hello
    I'm new to flash pro CC but I've already worked in flash...
    I'm animating a sequence and would like to activate the span based selection but I cannot see all the options in the preferences menu.
    How can I get to see all the options in the preferences menu?
    (sorry if there are some mistakes I'm french)

    Hi Brice,
    Which version of DW are you using? Which OS? Have you experienced this issue before or is this your first encounter?
    As  a first step, I suggest you try recreating Preferences (Re-create preferences) and see if that helps.
    Thanks,
    Preran

  • When I go into my email account through Safari, I cannot see all of my messages.  26 may show on the screen but it says I have 32.  However, at the bottom right it appears as if all the messages are showing and the arrow to get more is not highlighted.

    When I go to my email account through Safari, I cannot see all of my messages.  It says there are 34 but I can only see 26.   However, at the bottom right  the arrows to go to the next screen are not highlighted?  I also cannot scroll any further down.  Does anyone know how to scroll down to see all of my messages?  I use Travel-net Communications as my email provider (Ottawa, On, Canada).

    hey ,
    if it is showing you 34 mails them it is correct. when you see your mail. apple has a smart way of arranging your mail.suppose you recieve 4 mails from one email id it will show you under one highlighted mail. so when you open a mail from anyone trying scrolling it down and you will find your missing mails.

  • My picture files open up off center so I cannot see all of the bottom part of the picture.

    Hi,
    My picture files open up off center so I cannot see all of the bottom part of the picture. The ruler across the top read "0" to 13.5". Down the left side of the picture the ruler reads 3", 2",1", 0, 1", 2",3" etc. This leaves a three inch empty space at the top of my viewing area and I lose three inches of the bottom of my picture. I cannot figure out how to adjust this. I have tried the screen modes  and they do not fix my problem.  What can I do to solve this problem?

    Please provide sensible details about your platform, exact version of your OS, exact version of Photoshop, complete details baout your setup, hardware details, monitor resolution, etc.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers: 
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • PSE 8.0 Cannot See All Tools

    Good Day Eveyone:
    I cannot see all the tools that are listed in PSE Help for PSE 8.0.  For example Healing Tool - I only see the Spot Healing Tool on side of my screen.  I do not see both clone tools.  How do I get these other tools listed?  Thanks.
    http://help.adobe.com/en_US/PhotoshopElements/8.0/Win/Using//WSae2ea3b149d0c3591ae939f1038 60b3d59-7e2a_WIN.html
    Thanks Robert

    Thanks Anyway but I just found it.

  • Cannot see all folder in share drive

    I had a PC (WIN7) with share drive network. The problem is i cannot see all folders in share directory (total 68 folders), it's show 38 only in my MBP 10.6.7. But seems without any problem in TIGER or other PC. I had to try re-install, but still got same problem!
    Anyone else experiencing the same? Any suggestions as to a fix?

    Hi, a couple of ideas...
    The Vanishing Startup Drive or Folders by Pink Mutant/Francine Schwieder...
    http://pinkmutant.com/articles/invisible.html
    I wonder if ACLs got enabled on those other drives?
    http://x704.net/bbs/viewtopic.php?f=12&t=2180&p=26242

  • How to see all users who are allowed permissions for the specified entity ?

    How to see all users who are allowed permissions for the specified entity ? 
    And change user permissions for the current entity
    from Moscow with money

    Vincent,
    ... and how to change entity permissions for some users?
    from Moscow with money

  • Some of my bookmarked sites such as aol and facebook, look like This, suddenly: 0 1 45 Send a New Message Messages See All Messages0 unread Notifications See All Notifications Pati Beardsley Home Use Facebook as:

    0
    1
    45
    Send a New Message
    Messages
    See All Messages0 unread
    Notifications
    See All Notifications
    Pati Beardsley
    Home
    Use Facebook as:

    0
    1
    45
    Send a New Message
    Messages
    See All Messages0 unread
    Notifications
    See All Notifications
    Pati Beardsley
    Home
    Use Facebook as:

  • New charge may see broadband users charged to even...

    New charge may see broadband users charged to even look for a fault regardless of if it is found to be in  your home or on BT's wires.
    Check below.
    http://www.thinkbroadband.com/news/4136-new-charge-may-see-broadband-users-charged-to-even-look-for-...

    Just a note about the sockets - openreach ( the engineers ) are only responsible for looking after the external network and any fault on the external network is there responsibilities. Any wiring inside is the responsibility of the householder and therefore are liable for charges if any work is carried out in the home. The first point of call should always be your service provider to get them to run a line test for any problems on the line. If there faults department can't find a fault it is most likely inside that there is a problem and a local electrician is always cheaper than an openreach engineer.
    hope this helps

  • I have two computers connected to my Apple ID which belonged to my partner who recently dieds and bneed the spaces for new computer Cannot dauthorize all because this is already done

    I have two computers connected to my Apple ID which belonged to my partner who recently dieds and bneed the spaces for new computer Cannot dauthorize all because this is already done?

    Have you tried repairing disk permissions : iTunes download error -45054

  • My iPod Touch icons are large and I cannot see all of them, touching the screen does not make them return to normal. It is charged and was updated over the weekend.

    my iPod Touch icons are large and I cannot see all of them, touching the screen does not make them return to normal. It is charged and was updated over the weekend. What do I need to do to fix this?

    never found the answer by looking at a similar q on the right...thanks anyway!!

  • TS3274 Somehow the information on my iPad is too large and i cannot see all the icons at once. How do I go back to the normal size? all the icons. How can I resize the infor on scren?

    Somehow the information on my iPad is too large and i cannot see all the icons at once. How do I go back to the normal size?

    Have you tried resetting your device? http://support.apple.com/kb/ht1430

  • Cannot see all database users in RAU

    Hi,
    I logged in as repos_owner and tried to maintain users. When I get the window for the new repositoy user properties I see nearly all users but 1 not.
    Is there a filter or so or does this user need some grants. The user exists and I can connect to the database.
    Please help me.
    Regards
    siegwin

    I found the solution in Metalink
    Can Not See All Database Users in RAU, Maintain Users in Oracle Designer [ID 1086028.6]
    Thanks

Maybe you are looking for