Error getting OAuth token from AAD for AppPrincipalId

I am creating HDInsight using Data Lake Store using a service principal via template deployment (wrapper script).

While running the deployment script after creating the Spark HDInsight cluster, I got the following error:

Mistake:

At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details. {
  "status": "Failed",
  "error": {
    "code": "ResourceDeploymentFailure",
    "message": "The resource operation completed with terminal provisioning state 'Failed'.",
    "details": [
      {
        "code": "InvalidDocumentErrorCode",
        "message": "DeploymentDocument 'AmbariConfiguration_x_x' failed the validation. Error: 'Error while getting access to the datalake storage account hdiclusterdls: Error while getting the OAuth token from AAD for AppPrincipalId xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx, ResourceUri https://management.core.windows.net/, AADTenantId https://login.windows.net/xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx, ClientCertificateThumbprint xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx.'"
      }
    ]
  }
}  Correlation ID: xxxxxx-xxxxxx-xxxxxx-xxxxxx-xxxxxx

      

I am guessing there is some problem between HDInsight and Data Lake integration using Service Principal authentication.

Any help is greatly appreciated.

+3
oauth-2.0 azure hdinsight azure-data-lake


source to share


No one has answered this question yet

Check out similar questions:

548
How is OAuth 2 different from OAuth 1?
2
Issue creating Azure HDInsight using Data lake using template deployment
1
Hosting Sitecore 9 Azure Paas
1
HDInsight Spark cluster - unable to connect to Azure Data Lake Store
0
Error displaying when adding SendGrid from Masrket Place
0
Problems creating a domain joined in the hdinsight cluster
0
Problem creating HdInsight cluster with additional accounts
0
ARM Deployment Using KeyVault and Certificates for Azure Data Lake Store
0
Installing Giraph on HDInsight using script actions



All Articles
Loading...
X
Show
Funny
Dev
Pics