I am trying to install/configure the Tridion Powershell Module for coreservice API calls to our CMA running Tridion 2013 SP1 -- environment is configured and working correctly end to end including Content Porter-- I have successfully imported and installed the Tridion-CoreService module into Powershell. I am able to successfully connect to the CMA server from my client and use 3 of the supplied commands with no issues: (Get-TridionCoreServiceClient
, Get-TridionCoreServiceSettings
, and Set-TridionCoreServiceSettings
)
However, when attempting to use the other provided commands(Get-TridionItem
, Get-TridionUser
, etc.) I receive the following error.
PS C:\Program Files\WindowsPowerShell\Modules\Installation> Get-TridionUser
Exception calling "GetCurrentUser" with "0" argument(s): "Access is denied for the user <domain\username>."
Windows Event Viewer throws the error:
Access is denied for the user <domain\username>.
Component: Tridion.ContentManager.CoreService
Errorcode: 770
User: NT AUTHORITY\NETWORK SERVICE
StackTrace Information Details:
at Tridion.ContentManager.Security.AuthorizationManager.LoadAccessToken(String userName, IEnumerable`1 mappedGroupUris, IEnumerable`1 claimSets)
at Tridion.ContentManager.Session..ctor(IEnumerable`1 claimSets)
at Tridion.ContentManager.CoreService.CoreServiceBase.get_CurrentSession()
at Tridion.ContentManager.CoreService.CoreServiceBase.IsExistingObject(String id)
at SyncInvokeIsExistingObject(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at Tridion.ContentManager.CoreService.CoreServiceInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)
at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
I am confused as to why I can connect and create a valid session (deduced from my successful attempts to use the commands I mentioned above), but I am denied access by the other commands.
Any help / suggestions is greatly appreciated!
(Get-Module Tridion-CoreService).Version.ToString()