Forum Discussion
abeerq
Sep 17, 2019Copper Contributor
Calendar Sharing Auditing Report
Hi all, Is there a report where you can find a list of all the users who have shared their calendars externally? Assuming using the default Individual Sharing policy in EXO that allows anonymous sha...
- Sep 17, 2019
Each "share" is stamped on the permissions on the Calendar folder, so you can just enumerate those. I have a sample script that does just that here: https://gallery.technet.microsoft.com/Office-365-Calendar-29ef6211?redir=0
Once you have the CSV file, you can filter it by External.
mri503
Jan 08, 2024Copper Contributor
Hi,
First off - thanks for sharing your creations with us.
I can't get it to work with Exchange online - connected to Exchange Online using 'connect-exchangeonline' and after authenticating, run the script. It seems the script is looking for the connection to Exchange Online using the older method of a pssession with specific variables? So it doesn't proceed because it can't retrieve info on the Pssession...
PS C:\scripts> .\get-Calendar_Permissions_inventory.ps1
Write-Error: C:\scripts\get-Calendar_Permissions_inventory.ps1:147
Line |
147 | Get-CalendarPermissionInventory @PSBoundParameters -OutVariable globa …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| No active Exchange Online session detected, please connect to ExO first:
| https://technet.microsoft.com/en-us/library/jj984289(v=exchg.160).aspx
PS C:\scripts>
First off - thanks for sharing your creations with us.
I can't get it to work with Exchange online - connected to Exchange Online using 'connect-exchangeonline' and after authenticating, run the script. It seems the script is looking for the connection to Exchange Online using the older method of a pssession with specific variables? So it doesn't proceed because it can't retrieve info on the Pssession...
PS C:\scripts> .\get-Calendar_Permissions_inventory.ps1
Write-Error: C:\scripts\get-Calendar_Permissions_inventory.ps1:147
Line |
147 | Get-CalendarPermissionInventory @PSBoundParameters -OutVariable globa …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| No active Exchange Online session detected, please connect to ExO first:
| https://technet.microsoft.com/en-us/library/jj984289(v=exchg.160).aspx
PS C:\scripts>