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
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
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
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 :)
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156