Skip to content

Commit 2a264bb

Browse files
committed
Address comments
1 parent 9e3dcb3 commit 2a264bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/AcquireTokenByManagedIdentitySupplier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ AuthenticationResult execute() throws Exception {
2525

2626
if (StringHelper.isNullOrBlank(managedIdentityParameters.resource)) {
2727
throw new MsalClientException(
28-
MsalError.SCOPES_REQUIRED,
28+
MsalError.RESOURCE_REQUIRED_MANAGED_IDENTITY,
2929
MsalErrorMessage.SCOPES_REQUIRED);
3030
}
3131

0 commit comments

Comments
 (0)