private Credential getOrCreateCredential(TokensAndUrlAuthData authData) {
    if (this.credential == null) {
      this.credential = this.credentialFactory.createCredential(authData);
    }
    return this.credential;
  }
Uploads a single DataChunk to an upload URL {@code photoUploadUrl} via PUT
request with this composition:
<pre>{@code
 HEADERS
 Content-Length: $CHUNK_SIZE_IN_BYTES
 Content-Range: bytes $BEGIN_INDEX-$END_INDEX/$TOTAL_SIZE
 body=$BYTES
}</pre>

<p>NOTE: an access token is purposely not incluced per Microsoft SDK's own instructions:
https://learn.microsoft.com/en-us/graph/api/driveitem-createuploadsession?view=graph-rest-1.0#remarks


<p>See also:
<ul>
<li>https://learn.microsoft.com/en-us/graph/api/driveitem-createuploadsession?view=graph-rest-1.0#upload-bytes-to-the-upload-session
</ul>

Returns a response, which is only expected to have a response-body in the
event that this is the final chunk.
extensions/data-transfer/portability-data-transfer-microsoft/src/main/java/org/datatransferproject/transfer/microsoft/media/MicrosoftMediaImporter.java