Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Permissions overview NAV with powershell?

(0) ShareShare
ReportReport
Posted on by 5

I'm trying to get an overview of user permissions in NAV with powershell. I can see by using the following command: Get-NAVServerUserPermissionSet that a user has a particular PermissionSetID but lots of different company names. 

When I use Get-NavServerPermission, I see that one PermissionSetID has many objectIDs. 

I'm wondering how to put all this together. Has anyone done this? 

I've tried the following:

$Groups = Get-NavServerPermissionset -ServerInstance "InstanceName" | Select PermissionSetID

$Results = foreach( $Group in $Groups ){

    Get-NAVServerUserPermissionSet -ServerInstance "InstanceName" | Get-NAVServerUser -ServerInstance "InstanceName" | Where state -eq Enabled

        }

$Results

This brings up an error message though. 

Get-NAVServerUser : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input.


Can anyone help me there?

Thanks. 

*This post is locked for comments

  • Byrdwatcher Profile Picture
    5 on at
    RE: Permissions overview NAV with powershell?

    Hi, has anyone done something like this or could they point me in the right direction?

    Thanks.

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