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

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

User doesn't exist in Dynamics

(0) ShareShare
ReportReport
Posted on by 12

Hi everyone,

I'm trying to investigate behavior of automated adding user to the environment to understand how that works and make it more predictable.

I've Dataverse environment with Dynamics 365 Sales app deployed. The environment is configured with a gateway security group and I have separate security group through which I assign licence for the D365 Sales app. A user is added to both groups and I expected that the user account will appear in the environment but that doesn't happen. When I try to establish in code whether user is finally there I get the message "user doesn't exist in Dynamics". I've waited couple of days for some kind of trigger but still nothing. 

I'm aware that I can add user manually. Making user to log in to the environment would also most probably make the user to be created in this environment. bBt is there some documentation regarding what triggers user addition in automated way? Maybe there is some step I missed you can guide me to?

Any help or pointer would be most appreciated.

Thanks!

I have the same question (0)
  • Suggested answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    RE: User doesn't exist in Dynamics

    Hi partner,

    Please refer to the following Microsoft documentation for more details about nested security group:

    learn.microsoft.com/.../control-user-access

  • eLWu Profile Picture
    12 on at
    RE: User doesn't exist in Dynamics

    Hi Leah,

    Thank you for this brilliant and rich answer.

    in my case it was the configuration of nested security groups that you described in point 2 that was causing the problem I had not expected to have.

    If I see correctly, in that point 2, is that a quote from some source you can share and tell where to look it up?

    Thanks again!

  • Leah Ju Profile Picture
    Microsoft Employee on at
    RE: User doesn't exist in Dynamics

    Hi Partner,

    Have any updates?

    Please feel free to contacts me if you have any questions!

    Could you click 'Yes' under title to close the thread if my answer is helpful!

    Thanks in Advance! :)

  • Verified answer
    Leah Ju Profile Picture
    Microsoft Employee on at
    RE: User doesn't exist in Dynamics

    Hi eLWu,

    In a tenant if a user has the appropriate licenses assigned, to access environments, the users sync into all the environments automatically.

    If users were added to security groups, the security role should be associated with the environment.

    1.Have you assigned sales license to the specific user?

    • If a security group is associated with an environment, only users with Dataverse licenses or per app plan that are members of the environment security group will be created as users in the environment.

    pastedimage1678345271829v3.png

    2.Check the security role is nested security group?

    pastedimage1678343213360v1.png

    3.Have you can see the specific user in PPAC?

    pastedimage1678345567277v4.png

    If not, you can use the following procedure to add users manually in PPAC:

    pastedimage1678344516352v2.png

    Moreover,you can use Force Sync user action of Power Platform Management Connector.

    https://nishantrana.me/2021/12/13/using-force-sync-user-to-sync-powerapp-crm-users-power-platform-dynamics-365/ 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
DAnny3211 Profile Picture

DAnny3211 359

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 137 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 77 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans