Skip to content

Commit 1820235

Browse files
authored
[KV] Troubleshooting for multitenant auth failure (Azure#24500)
1 parent 9e241db commit 1820235

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

sdk/keyvault/TROUBLESHOOTING.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,26 @@ user.
9898
[Enable logging][identity_logging] and you will see which credential the [DefaultAzureCredential] used as shown
9999
below, and why previously-attempted credentials were rejected.
100100

101+
### Failing token requests
102+
103+
Depending on the versions of `azure-keyvault-x` and [azure-identity] you have installed, you may see an error similar
104+
to:
105+
106+
```text
107+
{CredentialType}.get_token failed: request() got an unexpected keyword argument 'tenant_id'
108+
```
109+
110+
This indicates that your `azure-keyvault-x` package supports multitenant authentication, but your version of
111+
[azure-identity] does not. Multitenant authentication is supported by [azure-identity] version 1.8.0 and newer, and is
112+
enabled on the following `azure-keyvault-x` versions or newer:
113+
114+
Package | Minimum Version
115+
--- | ---
116+
`azure-keyvault-administration` | 4.1.0
117+
`azure-keyvault-certificates` | 4.4.0
118+
`azure-keyvault-keys` | 4.5.0
119+
`azure-keyvault-secrets` | 4.4.0
120+
101121
## Other service errors
102122

103123
To troubleshoot additional HTTP service errors not described below, see

0 commit comments

Comments
 (0)