0

How could I get the SharePoint site logo from the Graph API?

With the SharePoint site logo I mean this:

Inside the documentation I didn't found anything that could be used.

1 Answer 1

0

As per the Microsoft Graph site resource documentation, there is no property available for accessing SharePoint site logo.


Additional info:

Instead of using Microsoft Graph, try using the URL in below format to get the site logo URL:

https://tenant.sharepoint.com/sites/siteName/_api/siteiconmanager/getsitelogo?type='1'

enter image description here

2
  • Yeah I've found this one to but don't know that it would be possible to get the image from that URL using a Graph access token. Dec 2, 2021 at 15:52
  • Are you showing the image somewhere in your application? If yes, what happens if you build img with URL in above format (similar HTML as given in above image)? Dec 2, 2021 at 16:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.