Skip to main content

Notifications

Announcements

No record found.

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!

  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju 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
    eLWu 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
    Leah Ju 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
    Leah Ju 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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,642 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,371 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans