How to fetch icon for specific OneDrive resource (file/folder) to use at desktop OneDrive client application?

2021-06-01T06:56:36.763+00:00

Hello,
I am developing a One Drive client application, which allows to connect to One Drive storage and get a list of folders and files. To present information to user in same view as OneDrive provide needs to load specific resource icons. Microsoft Graph API doesn't provide direct links to icon asset.
How I able to receive link to icon that One Drive used for the specific file / folder?

Thanks

Microsoft 365 and Office | OneDrive | For business | Windows
0 comments No comments
{count} votes

Accepted answer
  1. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2021-06-01T08:22:51.373+00:00

    Hi @Константин Петриди ,
    I suggest you post this issue to OneDrive for Developer:

    https://techcommunity.microsoft.com/t5/onedrive-developer/bd-p/OneDriveDeveloper

    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.