Sorry, this file has been deleted or moved - Teams graph api

Pradip Kumbhar 106 Reputation points

Hi All,

I am sending the file to the team's channel by using the team's graph API, by referring to the below document but when clicked on a file in the team's channel getting an error message as "sorry, this file has been deleted or moved."

Below is my code:



Microsoft Graph Teamwork API
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
1,873 questions
{count} votes

Accepted answer
  1. Pradip Kumbhar 106 Reputation points

    Hi All,

    Finally, I am able to figure out the issue, there was an issue with View ID and Content URL.

    The vieweId should be documented source ID, it will be visible in browser with the label "sourcedoc".

    In the case of the root site, we need to provide /:x:/r/ in addition to the file path

    Correct URL Path:

0 additional answers

Sort by: Most helpful