Quantcast
Channel: VMware Communities : Discussion List - Automation Tools
Viewing all articles
Browse latest Browse all 9071

Get-TagAssignment Auth Error

$
0
0

Hello,

 

I recently updated to PCLI 10 and after running a tag query ( while properly logged into the VIServer )...

 

  Get-TagAssignment -Entity $args | Select Tag

 

... it would produce an expected result, but now I am getting...

 

Get-TagAssignment : 4/18/2018 10:23:39 AM Get-TagAssignment com.vmware.vapi.std.errors.unauthenticated {'messages': [com.vmware.vapi.std.localizable_message

{'id': vapi.method.authentication.required, 'default_message': This method requires authentication., 'args': []}], 'data':}

At line:1 char:1

+ Get-TagAssignment -Entity testvm1p01

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Get-TagAssignment], CisException

    + FullyQualifiedErrorId : VMware.VimAutomation.ViCore.Impl.V1.Service.Tagging.Cis.TaggingServiceCisImpl.GetTagAssignment.Error,VMware.VimAutomation.ViCor

   e.Cmdlets.Commands.Tagging.GetTagAssignment

 

 

=====================================================

I noticed a post in another VMWare forum but I'm not sure how it could apply to above

vRealize Orchestrator Forum - VMware {code}

 

This is what I have for PS modules

Version        Name                              

-------        ----                              

1.0.0.0        ISE                               

3.1.0.0        Microsoft.PowerShell.Management   

3.0.0.0        Microsoft.PowerShell.Security     

3.1.0.0        Microsoft.PowerShell.Utility      

3.0.0.0        Microsoft.WSMan.Management        

6.5.2.7812840  VMware.DeployAutomation           

6.5.2.7812840  VMware.ImageBuilder               

10.0.0.7895300 VMWare.PowerCLI                   

10.0.0.7893915 VMware.VimAutomation.Cis.Core     

10.0.0.7893901 VMware.VimAutomation.Cloud        

10.0.0.7893906 VMware.VimAutomation.Common       

10.0.0.7893909 VMware.VimAutomation.Core         

6.5.4.7567193  VMware.VimAutomation.HA           

7.1.0.7547311  VMware.VimAutomation.HorizonView  

10.0.0.7893904 VMware.VimAutomation.License      

10.0.0.7893913 VMware.VimAutomation.Nsxt         

10.0.0.7893924 VMware.VimAutomation.PCloud       

10.0.0.7893910 VMware.VimAutomation.Sdk          

10.0.0.7893900 VMware.VimAutomation.Srm          

10.0.0.7894167 VMware.VimAutomation.Storage      

1.2.0.0        VMware.VimAutomation.StorageUtility

10.0.0.7893903 VMware.VimAutomation.Vds          

10.0.0.7893902 VMware.VimAutomation.Vmc          

10.0.0.7893921 VMware.VimAutomation.vROps        

6.5.1.7862888  VMware.VumAutomation        


Viewing all articles
Browse latest Browse all 9071

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>