- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
07-20-2023 05:56 AM
I am attempting to integrate Microsoft Graph Mail Single User into our XSOAR platform for Custom. However, I encountered some issues during the process.
Errors Encountered:
Steps Taken:
07-20-2023 06:39 PM
This is, unfortunately, working as expected.
The problem is that msgraph-mail requires the integration cache for it's authentication to work correctly because it stores long lived tokens in there. Conversely, the "Test" button doesn't allow access to the integration cache because the idea is that it could be run to test settings without actually saving an integration and creating an integration cache for it. Hence, if you want to test connectivity for this integration you'll need to use the msgraph-mail-test command rather than the built-in test function.
07-22-2023 09:58 PM - edited 07-22-2023 09:59 PM
1) msgraph-mail-test command is disabled.
https://xsoar.pan.dev/docs/reference/integrations/microsoft-graph-mail-single-user
in dev docs it is not mentioned that do not test by the Test botton.
07-24-2023 09:36 PM
Yes, your correct it was disabled. now its enabled but it is showing same authentication Error.
07-25-2023 07:38 PM
Error says there’s issue with credentials. Please verify your credentials by clearing it out and reentering it. You can also run the command with debug-mode=true which will return a log file you can look at for detailed error message returned by the API. If after that you still continue to have issues, you can open a support case to get assistance with support.
07-26-2023 09:25 PM
we are getting same error about credentials. the credentials are generated by link given by the integration !
10-24-2023 12:33 AM
Did you use a self-deployed azure app? The authentication code generated in this process is only valid for a matter of minutes so if you don't set that and then run the auth test command within that time period authentication will fail.
10-24-2023 11:58 PM - edited 10-24-2023 11:59 PM
@vhebri most likely your credentials are expired so try to reset the context (it could be something like msgraph-mail-auth-reset) and rerun mail-test to initialize the integration context.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!