ArunSankar-5721 avatar image
0 Votes"
ArunSankar-5721 asked ArunSankar-5721 commented

Trust anchor for certification path not found in Microsoft Graph API

I have been using the Microsoft Graph API in my android application to get the calendar events etc... The Authentication and events data retrieval were all working fine, but Microsoft Graph is not working properly on devices under 4.4 lately, when I try to get user data or calendar events, an exception occurs. I run the same codes on 2 android SDK versions, on 6.0, I can get all the data I want but on 4.4, it fails with the exception :

Caused by: Trust anchor for certification path not found.

Please suggest solutions for resolving this issue

· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Could you provide details on the Graph libraries and versions of those libraries that you are using?

0 Votes 0 ·
  • As Darrel updated below, get the related info for analysis. Also its worth to see if you're using any certificates in your app.

0 Votes 0 ·


I have been using

implementation ''
implementation ''

later I updated it to

implementation ''
implementation ''

These are the libraries that are used now

implementation ''
implementation ''

implementation 'com.squareup.retrofit2:converter-gson:2.9.0'

implementation("com.squareup.okhttp3:okhttp:3.12.8") {
force = true

implementation "com.squareup.okhttp3:logging-interceptor:3.12.8"

0 Votes 0 ·

@darrel-miller Is this details enough?

0 Votes 0 ·

0 Answers