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!
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!
I am writing here to confirm with you any update about this thread now.
If the suggestion below helps, please feel free to accept it as an answer to close this thread. It also could be beneficial to other community members reading this thread.
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
@ChrisF-3139
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:
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.
@ChrisF-3139 If the answer is helpful please click on ACCEPT ANSWER as it could help other members of the Microsoft Q&A community who have similar questions and are looking for solutions.
16 people are following this question.