Hi
I am using powershell to run a few navcodeunits but I am getting credential errors because my environment has been setup with navuserpassword authentication. Is there a way to handle this without switching to windows credientials.
Here is the error:
Invoke-NAVCodeunit NAV -CodeunitId 37044411 -MethodName rdSetupWarehouseEmployeesForAllLocationsWithDefaultLocationFromPowershell -Argument "TESTFORLONGNAME,Detroit"
Invoke-NAVCodeunit : The server has rejected the client credentials.
+ CategoryInfo : NotSpecified: (0:Int32) [Invoke-NAVCodeunit], FaultException`1
+ FullyQualifiedErrorId : MicrosoftDynamicsNavServer$NAV,Microsoft.Dynamics.Nav.Management.Cmdlets.InvokeNavCodeunit
*This post is locked for comments
I have the same question (0)