As per my testing in accordance with the graph docs here, the API getCreateLink() requires Files.ReadWrite scope to work; otherwise, HTTP 403, access denied is returned.
IMHO, getCreateLink should work with Files.Read scope too (although with a restricted view only permission); this is currently how other cloud provider APIs work.
As per my testing in accordance with the graph docs here, the API getCreateLink() requires
Files.ReadWrite
scope to work; otherwise, HTTP 403,access denied
is returned.IMHO,
getCreateLink
should work withFiles.Read
scope too (although with a restricted view only permission); this is currently how other cloud provider APIs work.