I wanted to create an embed link for onedrive files in work account.

Copper Contributor

I referred the link. https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_createlink?view=odsp-gra.... But could not create a embed link programmatically. (Since it is a work account) Is there any other way to create an embed link through an programmatically?

1 Reply


 Welcome to the Microsoft community, my name is Recep I'll be happy to help you today.


I understand that you are trying to create an embed link for OneDrive files in your work account programmatically, but there is no alternative method to create an embed link.


If I have answered your question, please mark your post as Solved

If you like my response, please give it a Like :smile:

Appreciate your Kudos! Proud to contribute! :)