Skip to main content

Notifications

Microsoft Dynamics NAV (Archived)

NAV ---> AD

Posted on by 1,000

Hi:

We have a Dynamics NAV 2013 environment that our company would like to initiate all user creations in NAV and have the Active Directory user created automatically.  Has anyone seen a solution out there for this or any ideas on how we can make that happen?

Thank you,

Stangride

*This post is locked for comments

  • Suggested answer
    keoma Profile Picture
    keoma 32,675 on at
    RE: NAV ---> AD

    hi

    to create the nav user you need in powershell the command New-NAVServerUser.

    link: msdn.microsoft.com/.../jj672917%28v=nav.70%29.aspx

    add access rights to the new nav user: New-NAVServerUserPermissionSet

    link: msdn.microsoft.com/.../jj672890%28v=nav.70%29.aspx

    create AD-User: New-ADUser

    link: technet.microsoft.com/.../ee617253.aspx

    add user/member to group: Add-ADGroupMember

    technet.microsoft.com/.../ee617210.aspx

    helpful link:

    social.technet.microsoft.com/.../adding-users-to-security-groups

    there you will find infos how to import a user list, etc. from an input file.

    a possible alternative:

    develope an assembly for the needed functionality in .Net/C#. i did this within a customer project.

    if you need further info, contact me.

    best regards

  • Suggested answer
    jcastro Profile Picture
    jcastro 2,245 on at
    RE: NAV ---> AD

    If it was me I would probably look into using powershell. To me seems the easiest way to do so.

    You can check out these links with more info:

    http://technet.microsoft.com/en-us/library/ee617195.aspx

    http://blogs.technet.com/b/heyscriptingguy/archive/2013/10/31/powertip-create-a-new-user-in-active-directory-with-powershell.aspx

    After you have your script, the only thing left would be to use NAV to execute the powershell script using the proper parameters (like the username). One way would be to use add-ins as a "bridge" between those two platforms. Another way could be just using the windows shell automation to execute the powershell.exe with your script accordingly.

    Just to put some ideas out there :) 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans