Hello - We are trying to configure the MSgraph Mail Poller Plugin . The required values in the credential store are tenant , Client Secret and Application Id . We have given all the values but we are getting an exception as below :-
2021-08-09 19:28:56,733 [Appian Work Item - 1020 - execution02 : UnattendedJavaActivityRequest] DEBUG com.appiancorp.ps.msgraphmail.MSGraphMailPollerSmartService - Connecting to MS Graph authentication provider2021-08-09 19:28:56,743 [Appian Work Item - 1020 - execution02 : UnattendedJavaActivityRequest] ERROR com.appiancorp.ps.msgraphmail.MSGraphMailPollerSmartService - Unexpected error polling for mailjava.util.concurrent.ExecutionException: java.lang.NullPointerException at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357) at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908) at com.appiancorp.ps.msgraphmail.MSGraphConnector.<init>(MSGraphConnector.java:75) at com.appiancorp.ps.msgraphmail.MSGraphMailPollerSmartService.run(MSGraphMailPollerSmartService.java:171)
Has anyone faced this issue ?
What value are we suppose to use in Tenant field . The documentation says tenant endpoint which looks usually something like https://login.microsoftonline.com/.onmicrosoft.com/ . we have passed it the value as
https://login.microsoftonline.com/<our tenant domain>/ . Is this correct way ?
Also , does this plugin use Oauth 2.0 ? How is this getting the token to call MS graph API ?
Thanks
Harveen
Discussion posts and replies are publicly visible
I was able to make use of this plugin today, I had to use the tenant which is login.microsoftonline.com/.../ where XXX can be found on Domain on the home page when you click on the settings in portal.azure.com
Secret need to be defined when setting up the app in azure active directory, and its the Value field not the Secret ID field.
Hope once those things are resolved, you should be able to connect