Skip to content

How to get a single custom sized thumbnail binary? #2686

Answered by andrueastman
Ghostbird asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for raising this @Ghostbird

This is a issue with the metadata used to generate the SDK. In the meantime you can work around this with a code sample like below.

var thumbnailContent = graphClient.Drives["drive-id"].Items["item-id"].Content.WithUrl("https://graph.microsoft.com/me/drive/items/{item-id}/thumbnails/{thumb-id}/{size}/content").GetAsync();

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Ghostbird
Comment options

@Ghostbird
Comment options

Answer selected by Ghostbird
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants