Share a document for SPECIFIC PEOPLE via Graph API

%3CLINGO-SUB%20id%3D%22lingo-sub-1224296%22%20slang%3D%22en-US%22%3EShare%20a%20document%20for%20SPECIFIC%20PEOPLE%20via%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1224296%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20are%20currently%20developing%20our%20own%20solution%20to%20establish%20a%20workflow%20for%20sharing%20specific%20documents%20with%20external%20partners.%20Therefore%20we%20designed%20our%20own%20workflow.%3C%2FP%3E%3COL%3E%3CLI%3EUser%20fills%20out%20form%20and%20uploads%20relevant%20file%20(including%20the%20receivers%20email)%3C%2FLI%3E%3CLI%3EFile%20should%20be%20shared%20with%20the%20external%20receiver%3C%2FLI%3E%3C%2FOL%3E%3CP%3EI'm%20able%20to%20build%20the%20first%20part%20but%20I'm%20not%20able%20to%20create%20a%20sharing%20link%20for%20%3CSTRONG%3Especific%20people%3C%2FSTRONG%3E%20like%20I%20can%20within%20SharePoint%20or%20OneDrive%20manually.%20%3CSTRONG%3EIs%20it%20not%20possible%20to%20create%20such%20a%20link%20programmatically%3F%3C%2FSTRONG%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1224296%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eonedrive%20graph%20api%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Esharing%20link%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Especific%20people%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1224432%22%20slang%3D%22en-US%22%3ERe%3A%20Share%20a%20document%20for%20SPECIFIC%20PEOPLE%20via%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1224432%22%20slang%3D%22en-US%22%3EShould%20be%20able%20to%20do%20this%20via%20power%20automate%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1477656%22%20slang%3D%22en-US%22%3ERe%3A%20Share%20a%20document%20for%20SPECIFIC%20PEOPLE%20via%20Graph%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1477656%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F517497%22%20target%3D%22_blank%22%3E%40ThomasSteibl%3C%2FA%3E%26nbsp%3B-%20were%20you%20able%20to%20come%20up%20with%20a%20solution%3F%26nbsp%3B%20I%20have%20the%20exact%20same%20need.%26nbsp%3B%20It%20does%20not%20appear%20that%20PowerAutomate%20allows%20this%20unless%20I%20am%20missing%20something.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

We are currently developing our own solution to establish a workflow for sharing specific documents with external partners. Therefore we designed our own workflow.

  1. User fills out form and uploads relevant file (including the receivers email)
  2. File should be shared with the external receiver

I'm able to build the first part but I'm not able to create a sharing link for specific people like I can within SharePoint or OneDrive manually. Is it not possible to create such a link programmatically?

2 Replies
Should be able to do this via power automate

@ThomasSteibl - were you able to come up with a solution?  I have the exact same need.  It does not appear that PowerAutomate allows this unless I am missing something.