web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Can't grant DYNSA access to a company

(0) ShareShare
ReportReport
Posted on by 5

I created a test company and oops had the copy over user access checked. I was able to delete the other users in the company database in SMSS to fix them but I can't do that with DYNSA as it's associated with the dbo. So how can I resolve this?

The error btw is "The user could not be added to one or more databases."

And the error is specifically for granting user DYNSA access to ta company in GP under User Access Setup. 

I have the same question (0)
  • Suggested answer
    Derek Albaugh Profile Picture
    Microsoft Employee on at

    Can you run the following scripts:

    --Against each GP company database

    sp_dropuser 'DYNSA'

    sp_changedbowner 'DYNSA'

    DYNSA should be the db owner for each GP database, which gives them access to the database, they shouldn't be setup as a regular user.

    Under the User Access window, DYNSA should have all GP company databases showing as marked, indicating access to each one.

    DYNSA also has PowerUser permissions in each company database.

    Thanks

  • scplimited Profile Picture
    5 on at

    I got a:

    Msg 15008, Level 16, State 1, Procedure sp_dropuser, Line 12

    User 'DYNSA' does not exist in the current database.

    for sp_dropuser 'DYNSA"

    but sp_changedbowner 'DYNSA' completed fine

    I'm probably going to show up as a different user but it is still me. Was rather annoyed when this orig account needed a new token or whatever.

  • Suggested answer
    Bill Campbell Profile Picture
    12 on at

    I would suggest posting a picture of the User List under the database in question -- Security -- shows all active users.

    If the DYNSA is not listed in the specific company, then have a look in the DYNAMICS database -- Security >> Logins - find the DYNSA user - double click - and look at the User Mapping and see what databases are connected.

    Have a look and post whatever details that you think might help - like list of names

    Good luck.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 689

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 478 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 258 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans