[ 
https://issues.apache.org/jira/browse/NIFI-13553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17868154#comment-17868154
 ] 

Paul Grey commented on NIFI-13553:
----------------------------------

As noted in [1], fix restores APIs expected by clients compiled against 1.14.x 
of library.  As indicated in [2], fix is tagged with 1.16.0, but since 1.16.1 
is out, this is used instead.  The effects of the inadvertent removal [3] can 
be seen in [4] and [5]. 

Azure BOM / azure-identity-1.13.0 still refers to msal4j 1.15.1, so we need an 
explicit override (which is expected to be compatible).

[1] 
https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/828
[2] 
https://github.com/AzureAD/microsoft-authentication-library-for-java/commit/b06c679acf73b2b59f8dbf5504c3acb6274227e4
[3] 
https://github.com/AzureAD/microsoft-authentication-library-for-java/commit/450757afc5dad60c723b44853e1c4227c34df105#diff-cc95f62f86b139cde86050795336af40109cd4bff0c5efd13205d5715589af95
[4] 
https://github.com/AzureAD/microsoft-authentication-library-for-java/blob/v1.14.2/msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/AbstractClientApplicationBase.java#L446
[5] 
https://github.com/AzureAD/microsoft-authentication-library-for-java/blob/v1.15.0/msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/AbstractClientApplicationBase.java

> PutAzureDataExplorer broken due to bug in msal4j v1.15.0
> --------------------------------------------------------
>
>                 Key: NIFI-13553
>                 URL: https://issues.apache.org/jira/browse/NIFI-13553
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 2.0.0-M3, 2.0.0-M4
>         Environment: RedHat Enterprise Linux 9
>            Reporter: Brandon Erkamaa
>            Assignee: Paul Grey
>            Priority: Major
>              Labels: patch
>         Attachments: Screenshot 2024-07-15 at 10.06.02 AM.png
>
>
> See the bug for the msal4j.jar here [[Bug] NoSuchMethodError 
> (ConfidentialClientApplication$Builder.executorService): mssql-jdbc + msal4j 
> (since v1.15.0) -  Issue #806 -  
> AzureAD/microsoft-authentication-library-for-java -  
> GitHub|https://github.com/AzureAD/microsoft-authentication-library-for-java/issues/806]
>  the version 1.15.0 has a bug which causes the error NoSuchMethodError seen 
> in the picture attached (this happens when you use the Application 
> Credentials authentication strategy for StandardKustoIngestService so I 
> assume any processor that uses this service is also broken when using 
> Application Credentials). It looks to have been fixed in the newest version 
> 1.16.1 So I think that dependency just needs to be updated. I tested this 
> processor on nifi 2.0.0 M2 and it works and the version you use in M2 is 
> 1.14.0 and it breaks in 1.15.0 which is what is on M3 and M4 so I think if 
> updated to 1.16.* in the next version it should work again. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to