Rafa_Carmona's avatar
Rafa_Carmona
Copper Contributor
Jul 26, 2023
Status:
New

Create embedded link to display power point file on a web site


Do you know when will be available the option to create an embedded link with the MSGraph api to insert it in a web application?

Here is the reference

https://learn.microsoft.com/en-us/graph/api/listitem-createlink?view=graph-rest-beta&viewFallbackFrom=graph-rest-1.0&tabs=http

This is the test I am doing

https://graph.microsoft.com/v1.0/me/drive/items/{itemId}/createLink

Where itemId is the id of the power point document.

In the body parameters I pass the following:

 

{
    "type": "embed"
}

And the result is the following

 

 

{
    "error": {
        "code": "notSupported",
        "message": "Requested sharingLink type is not yet available.",
        "innerError": {
            "date": "2023-07-26T13:19:22",
            "request-id": "18bf380a-ca26-454f-a22f-74745b94c32d",
            "client-request-id": "18bf380a-ca26-454f-a22f-74745b94c32d"
        }
    }
}

The documentation states that it is only possible for Personal accounts ": Embed links are only supported for OneDrive personal."

Do you know when it will be available for business accounts? I am using a business account

Thank you very much

Best regards,

 

1 Comment

  • ManjunathaS470's avatar
    ManjunathaS470
    Copper Contributor

    Hello,

    I am also waiting for the feature to embed PowerPoint presentations in my application but am encountering the same issue. Microsoft, could you please prioritize and implement this feature as soon as possible?

    Thanks