I am trying to create a sharedURL via a picker in my app that constucts a web url with a query par linked to a sharepoint file, which reads into the app on load. For some reason if I grab the manual sharedURL from sharepoint it works, as I endode it and point to:
With auth and grabbing the @microsoft.graph.downloadUrl I can easily read into memory and into my app. so all good!
However I cannnot get the createLink from graph api to work as it does not include the ?e= query par, like a manual share option does. It would be good to know what it represents as I cannot access the content without it.
I get back a successful 200 or 201 on POST the create the link and has the same weburl but without ?e= so am thinking that is the issue. but when I read it in, it says Requested sharing link could not be found.
Could someone please advise pls?