![]() ![]() When I called I get the error "Could not find the Public Folder store". In an attempt to connect to Exchange without using the default profile I tried using: rdoSession.LogonHostedExchangeMailbox("", "myAccount","myPassword") If I run the app in my account it works, as expected. We use O365 so I can test the functionality locally. This is something I have no control over.Īs this account doesn't have an Outlook Profile I want to be able to login to an Exchange account to access the Public Folders. The app no longer runs as Administrator but is run as NETWORK SERVICE. As JitenSh said, use Remove-PublicFolderClientPermission to edit the permission. The exchange has now been migrated to Office 365 and the app now has to run on a VM in Azure. Then you could use Get-PublicFolderClientPermission command to check the permission about your public folder. ![]() The app would login using rdoSession.Logon and use to access the Public Folders. The provider applies filter when the cmdlet gets the objects rather than having PowerShell filter the objects after theyre retrieved. The Administrator account had an Outlook Profile. gci -Recurse -Filter 'yourfoldername' -Directory -ErrorAction Silentl圜ontinue -Path 'C:' some more info:-Filter 'yourfoldername' From documentation: Filters are more efficient than other parameters. The app ran on a Scheduled Task as Administrator. The Public Folders were hosted in an on-premise Exchange Server. I developed an app for our client that would process emails stored in Public Folders. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |