

Office 365 calendar sharing is useful when you want to invite other users to an event, for example, a meeting. In Office 365 you can share a calendar with other users and export Office 365 contacts. Microsoft Office 365 users who use Outlook know how important the contacts and calendar are. foreach( $AcEnt in $ Michael Bose Account-Level Calendar and Contacts Sharing for Office 365.#Deal with the first character being a Byte Order Mark.$acXML = ::UTF8.GetString( $UsrConfig.XmlData).$UsrConfig = ::Bind( $service, "OWA.AutocompleteCache", $folderid, ::All).#Specify the Calendar folder where the FAI Item is.$folderid= new-object .FolderId(::Root, $MailboxName).#$service.ImpersonatedUserId = new-object .ImpersonatedUserId(::SmtpAddress, $MailboxName)$folderid = new-object .FolderId(::Root,$MailboxName).Write-Host "Process OWA AutocompleteCache".namespace while( $fiItems.MoreAvailable -eq $true).$Params.IncludeDebugInformation= $False.# Choose to ignore any SSL Warning issues caused by Self Signed Certificates.

$creds = New-Object ( $(), $psCred.GetNetworkCredential().password.ToString()).#Credentials Option 1 using UPN for the windows Account.# Set Credentials to use two options are availible Option1 to use explict credentials or Option 2 use the Default (logged On) credentials.
