How can a global admin list all the shared calendars in the tenant?

Anonymous
2022-05-10T17:40:36.003+00:00

I am a global admin and need to search for a calendar by name. Does Office 365 have this capability or do I have to write a PowerShell script to get all the data and filter it with a regex or something?

Thanks!

Exchange | Exchange Server | Management
{count} votes

2 answers

Sort by: Most helpful
  1. Vasil Michev 119.7K Reputation points MVP Volunteer Moderator
    2022-05-10T18:07:04.66+00:00

    Nothing built-in, but easy to report on via PowerShell. Here's a sample script I wrote a while back: https://www.michev.info/Blog/Post/3676/office-365-permission-inventory-calendar-permissions-2

    1 person found this answer helpful.
    0 comments No comments

  2. KyleXu-MSFT 26,396 Reputation points
    2022-05-11T07:54:28.233+00:00

    @Anonymous
    You could use the script below to check whether there exists non-default permissions and non-anonymous permissions on user calendar:

    $users = Get-Mailbox -ResultSize Unlimited -RecipientTypeDetails UserMailbox  
      
    foreach($user in $users){  
        $user = $user.PrimarySmtpAddress+":\calendar"  
        if(Get-MailboxFolderPermission -Identity $user | where{$_.User -notlike "*Default*" -and $_.User -notlike "*Anonymous*"}){  
            "`n"+ $user + ":"  
            Get-MailboxFolderPermission -Identity $user | where{$_.User -notlike "*Default*" -and $_.User -notlike "*Anonymous*"}  
        }  
    }  
    

    If there exists such permission, you will get an output like below:
    200854-qa-kyle-15-50-30.png


    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.