Azure / Azure/azure-powershell

Unable to acquire token for tenant 'organizations' with error 'ManagedIdentityCredential authentication failed

Open
#23,115 6 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Automation customer-reported question Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Description

I m trying to connect from user managed identity to azure automation account but getting the error, kindly assist

### Script or Debug output

```PowerShell
$AzureContext = (Connect-AzAccount -Identity -AccountId ).context
```

### Environment data

_No response_

### Module versions

_No response_

### Error output

```PowerShell
Unable to acquire token for tenant 'organizations' with error 'ManagedIdentityCredential authentication failed: User assigned identity is currently not supported clientID must not be passed in request.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.