microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
744 stars 245 forks source link

New-NAVServerPermissionSet always returns an error #7797

Closed PETMLA closed 3 months ago

PETMLA commented 3 months ago

1. Describe the bug New-NAVServerPermissionSet always returns an error and never creates a new permission set.

2. To Reproduce Steps to reproduce the behavior:

Follow the example from https://learn.microsoft.com/en-us/powershell/module/microsoft.dynamics.nav.management/new-navserverpermissionset?view=businesscentral-ps-24

New-NAVServerPermissionSet -ServerInstance "ServerInstance" -PermissionSetId TEST -PermissionSetName 'This is a set for TEST.'

3. Expected behavior It should create a new permission set.

4. Actual behavior It throws an error.

image

5. Versions:

Final Checklist

Please remember to do the following:

kalberes commented 3 months ago

image