OneDrive - External users Shared and direct link access report

Chirannjevi Panala 0 Reputation points
2023-07-24T15:26:20.18+00:00

Hi,

I guess Microsoft admin centre or SharePoint doesn't have the capability of running a report of all the user's OneDrive files that are being accessed by external users via shared or direct link access reports, does the Graph API has that kind of capability to run the report either through the queries or PS scripts? if yes, please provide to me, thanks.

Thanks

CP

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,998 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,300 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AllenXu-MSFT 23,426 Reputation points Microsoft Vendor
    2023-07-25T07:17:39.8633333+00:00

    Hi @Chirannjevi Panala,

    I'm afraid there is also no Graph API or PowerShell can fetch all the user's OneDrive files that are being accessed by external users. This OneDrive activity reports can get the activity of every user licensed to use OneDrive by looking at their interaction with files on OneDrive. Unfortunately, external users and activity like accessing file via shared or direct link are not supported. I suggest posting feedback to MS via this feedback portal: https://feedbackportal.microsoft.com/feedback/forum/ebe2edae-97d1-ec11-a7b5-0022481f3c80.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.