powershell - Security Token Validation Error with JWT token -- HDInsight -


I created a new storage account and preferred an HDICcluster cluster on Windows Azure. However, when I try to run any command on the Windows Azure Powershell related to the cluster, I get the following error:

  PS C: \> Get-AzureHDInsightClusterName $ clusterName Get-AzureHDInsightCluster: Request failed with code: Unauthorized content: & lt; Error xmlns = "http://schemas.microsoft.com/windowsazure" xmlns: i = "http: //www.w3.ORG / 2001 / XMLSchema-instance" & gt; & Lt; Code & gt; Authentication field & lt; / Code & gt; & Lt; Message & gt; A security token validation error has occurred for the received JWT token. & Lt; / Messages & gt; & Lt; / Error & gt; In line: 1 character: 1 + goose-ezoor HDI-crystal-name $ cluster name + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~ + Category information: Not specified: (:) [Get-AzureHDInsclCluster], HTTP://www.facebook.com/FullQquiledErroid: Microsoft. Hradop Client HTMLApplication, Microsoft Windows Azure Management. HDICCTC MD. Pscmdletts. Gate Ezoor HIICIDSTCLuster CMDlet  

I'm completely new to HDInsight, but I add the Azure account to this order, create variables for membership name, storage account name and Run Container Name From Page

Do you know what this error is? And how to fix it? I'm trying to run a script with pig commands after the following website

It seems that PowerShell environment is not setup properly You must first add your Azure membership with GetAzureSubscription. See:


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -