I'm trying to use msgraph-beta-sdk-java to add/setup a synchronization job to a service principal. I'm able to create a SynchronizationJob from the SynchronizationTemplate attached to the ServicePrincipal object, but I'm having trouble when trying to add the required SynchronizationSecret to it.
First, the validateCredentials function seems to be broken (https://github.com/microsoftgraph/msgraph-beta-sdk-java/issues/372).
But my question here is about how to actually add those secrets to the ServicePrincipal as documented in https://docs.microsoft.com/en-us/graph/api/synchronization-synchronization-secrets?view=graph-rest-beta&tabs=http? Is it simply missing from msgraph-beta-sdk-java?
Thanks