Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

NAV ---> AD

(0) ShareShare
ReportReport
Posted on by 1,004

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
    32,727 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
    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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics NAV (Archived)

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans