Hi!
I need to just validate if a link is a legitimate sharing link.
To perform this, I just call the GET /shares/{shareIdOrEncodedSharingUrl} Graph endpoint.
In {shareIdOrEncodedSharingUrl} I encode the link I want to analyze to base64.
If that link belongs to the same tenant than the user doing the query, it works... but if the sharing link belongs to another tenant, it does not work (error 403).
I am using Graph Explorer and I tried specifying redeemSharingLink or redeemSharingLinkIfNecessary in the Prefer header but it's the same.
In the documentation it does not mention that the sharing link needs to belong to the same tenant.
Thanks