Closed ashwani945 closed 8 months ago
I am having the same issue coming from 5.77.0 -> 6.x.x. None of the imports work anymore.
Some of the import namespaces have changed across the version. Based on your example...
import com.microsoft.graph.serviceclient.GraphServiceClient;
import com.microsoft.graph.core.models.IProgressCallback;
import com.microsoft.graph.core.tasks.LargeFileUploadTask;
The com.microsoft.graph.models.*
namespaces should still work. Please let me know if this isn't the case.
For authentication, the structure and types needed has changed. Please see the upgrade guide
@Ndiritu it looks like the upgrade guide brings you to a 404 page. Can guidelines for upgrading be found in a different place?
These are the following imports that's throwing error after version 6.1.X of com.microsoft.graph groupid import com.microsoft.graph.authentication.TokenCredentialAuthProvider; import com.microsoft.graph.models.DriveItemCreateUploadSessionParameterSet; import com.microsoft.graph.models.DriveItemUploadableProperties; import com.microsoft.graph.models.UploadSession; import com.microsoft.graph.requests.GraphServiceClient; import com.microsoft.graph.tasks.IProgressCallback; import com.microsoft.graph.tasks.LargeFileUploadTask;
till 5.80.0 the above imports is working fine.
Working dependency--> Old dependency till the imports are working groupId-->com.microsoft.graph artifactId-->microsoft-graph version-->5.80.0
Not working dependency--> Latest dependency after which imports are not working groupId-->com.microsoft.graph artifactId-->microsoft-graph version-->6.1.0
Can anyone help me if there is any changes in the structure of imports and if yes then what would be the structure of the above imports