Configuring O365 connector on SIM and testing but Test connection failing and SIM logs show below error:
2023-07-10 11:36:18,720 [1] ERROR SnowSoftware.ExternalDataProvider.Providers.Office365.Properties - Test connection from the GUI failed. Exception:
System.Security.Authentication.AuthenticationException: Error fetching Graph API token. Error: Status code 401 Unauthorized does not indicate success., status code: Unauthorized
at SnowSoftware.ExternalDataProvider.Providers.Office365.Clients.Graph.Authentication.AuthenticationClient.<GetToken>d__3.MoveNext()
SIM 5.52
- Confirmed the user permissions used to create the application ID.
- Admin consent had been granted as per pre-requisites.
- Ran the powershell command to check the User persmissions from SIM server. Contact support for assistance with this.
- The powershell command shows the error that Secret value is not correct.
On O365 portal Under API permission when creating the application secret, it shows the Secret Value and Secret ID. Secret Value is used in the O365 connector, and is only visible when creating the application. If you do not have it recorded elsewhere, you will need to create an application and copy the value while it is still visible.
Copy the Secret Value, which is used as the Application Secret for the Office 365 connector:
The failure to connect and test failure resulted from using the Secret ID rather than the Secret Value as the Application Secret in the O365 connector.
Related Articles
Configuring Microsoft Graph API for the Spider InTune connector 13Number of Views Snow Integration Manager Proxy Profiles not visible in O365 connector 12Number of Views Office 365 Test connection fails ERROR Cannot bind argument to parameter 'String' because it is an empty string 27Number of Views Imports of data from Flexera One SaaS Management to Flexera One ITAM may fail with error: "Exception during token request:… 15Number of Views O365 connection fails with time out 14Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Revenera Assistant
Case id: 00001065
Activity: Status change: 2 hours ago