Skip to content

Commit

Permalink
Update managed identity object ID exception message (#46995)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottaddie authored Nov 7, 2024
1 parent 1a09df4 commit 721a35b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ internal static TokenCredential CreateCredential(IConfiguration configuration)

if (!string.IsNullOrWhiteSpace(objectId))
{
throw new ArgumentException("Managed identity 'objectId' is only supported when the credential type is 'managedidentity'.");
throw new ArgumentException("'managedIdentityObjectId' is only supported when the credential type is 'managedidentity'.");
}

if (additionallyAllowedTenantsList != null
Expand Down

0 comments on commit 721a35b

Please sign in to comment.