How can I create a OneDrive file link that is accessible only to specific internal users, ensuring unauthorized access for all others?

Sanket Gite 0 Reputation points
2024-07-02T11:55:06.33+00:00

Hi Team,

I am conducting a proof of concept where I am uploading a file to OneDrive. My goal is to create a file access link that is only accessible to a specific set of users. The link should be unauthorized for any users outside this set.

For external users, the implementation works as expected, restricting access appropriately. However, for internal users within the organization, the file is accessible to anyone with the link, which is not the desired behavior.

Could you please provide any suggestions or guidance on how to ensure the file link works only for a specific set of internal users and is unauthorized for others?

Thank you.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,403 questions
{count} votes