A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Hey there, my name is Ajibola and I'm excited to help you today!
I understand that you are using the SharePoint Online REST API to get the ServerRedirectedEmbedUrl property for different file types, but you are not getting it for .xls and .csv files. This is a known limitation of the SharePoint Online REST API, as it only returns the ServerRedirectedEmbedUrl property for files that can be opened in Office Online applications, such as Word, Excel, PowerPoint, and OneNote. However, .xls and .csv files are not supported by Office Online, and they need to be downloaded or opened in the desktop version of Excel. Therefore, the SharePoint Online REST API does not return the ServerRedirectedEmbedUrl property for these file types.
If you have any further questions or need additional assistance, please feel free to ask. I'm here to help!
Give back to the Community. Help the next person with this issue by indicating if this reply solved your problem. Click Yes or No below.
Kind regards