Public folder content can include email messages, posts, documents,
and eForms. I want to fetch all the data available inside public
folder mailbox. I am able to fetch email messages and posts.
How to fetch documents and eForms for the public folder shared mailbox? Which property needs to be set in the soap payload
eForms get stored in the NON_IPM_Subtree see https://learn.microsoft.com/en-us/archive/blogs/exota/how-to-create-publish-organizational-forms-in-exchange-2013office-365. AFAIK EWS won't let you enumerate those folders in a Public Folder Mailbox you maybe able to get the FolderId using the Exchange Management Shell cmdlets (Get-PublicFolder) and then connect to the folders using EWS. Otherwise you will need to use MAPI either via Outlook or a 3rd party library like redemption. I would suggest you first try a Mapi editor like OutlookSpy of MFCMapi and see if those folder exist in the NON_IPM_Subtree as they won't be their by default in an Office365 tenant.
Related
The documentation for Teams indicates that the data is stored in various locations across the MS Azure systems. For example:
One-to-one and Group chats are stored in Exchange, in "hidden folders" that are only accessible by an admin
Files sent in chats are stored on OneDrive in a folder called "Microsoft Teams Chat
Files"
Using the Graph Explorer, I have been able to query for the list of chat messages directly. But due to permission constraints in my app, I need to know how I can reach the actual storage location of these files for retrieval. How do I query for and list the contents of the "hidden folders" in that store the chat messages?
There is no API to access the chats stored in hidden folders. You can get chats using Graph API only. Get chatMessage in a channel or chat
Please go through List mailFolders. Use includeHiddenFolders=true to include hidden mail folders in the response.
We have an office add-in where we get contents of email, its attachments and send them to our SaaS application to be filed/saved. This works as expected until we try to retrieve attachments of an email from shard mailbox.
This has been working fine, but recently users have reported that they cannot. On testing, we found that, we can get the contents of the shared email (Body) but not the attachments (we can see that the add-in shows the email body and lists all attachments) but there is no attachment content, so when saved in the application, the email is saved with empty files.
The error we get when downloading attachment is:
{
"error": {
"code": "ErrorInvalidMailboxItemId",
"message": "Item Id doesn't belong to the current mailbox."
}
}
API Call:
https://outlook.office.com/api/v2.0/me/messages/<restId>/attachments/<attachmentId>/?$expand=Microsoft.OutlookServices.ItemAttachment/Item($expand=Microsoft.OutlookServices.Message/attachments
I've already had a look at this post but hasn't helped much. I am testing this on mac but will test on windows.
Any more info regarding this would be helpful.
For items from a Shared Mailbox, use the Shared Properties interface to construct the REST URL, as documented here. To determine whether to use Shared Properties or not, check for requirement set 1.8 as well as the existence of the getSharedPropertiesAsync method. For sample code on how to check for a requirement set, see this documentation.For sample code on how to check for and use the Shared Properties interface, see this other documentation.
Can the Yasoon Outlook development system modify existing emails, so that I could replace all attachments with links to the file from our internal cloud storage environment?
Or does anyone know of an app that will let me do this? I have seen the ones for Box/Dropbox/etc, but we are using FileCloud, and they have a very rich API in addition to the storage being hosted internally.
What the company would like to do is the following:
Select attachments by criteria
Upload the attachment(s) to FileCloud (FileCloud API)
Set the file as shared, with the mailfile owner being the only
authorized user (FileCloud API)
Replace the file in the email with the new share URL from FileCloud
And continue on until all selected attachments have
been processed in the mail file.
Tobi from Yasoon here, sorry for not getting back earlier.
Our tool is probably overblown for this use case though it's possible (https://github.com/yasoonOfficial/com.yasoon.attachment.export)
But you should probably look into the new Outlook API: https://dev.outlook.com/MailAppsGettingStarted/GetStarted
I'm developing web application which is similar to address-book,
now I want to create a page with list of user contacts. I already have user email and show out_of_office badge using GetUserOOFSettrings API method.
Does the API for getting user's (favorite) contacts list exists?
E.g. to get MS Lync contacts which user have, or outlook contacts...
Does some better way for implementation of current feature exists?
Thanks
Have a look at https://msdn.microsoft.com/EN-US/library/office/jj190895(v=exchg.150).aspx. Contacts are just items in the user's mailbox. You might also download EWSEditor to poke around and see what's available.
I have Exchange 2010 and Outlook 2010. I am trying to sync a public Outlook calendar with Salesforce using the Salesforce. According to Idea Exchange (here and here), it's not possible (although the second link does contain a workaround that uses a Salesforce license). When I install the Salesforce Outlook Connector and select the calendar to sync with, I only see my personal calendar under my email address, not any public calendars. If I select a "New" and navigate to the public calendar and try to create a sub-folder, I get a message saying "Could not create new folder: MAPI_E_NO_ACCESS"
How can I sync this public folder? If this would show under my email address, I could just select it. Is there a way to get this to work?
While it isn't an immediate solution you could vote up the ideas:
IdeaExchange: make Public Calendar events first-class citizens
IdeaExchange: Salesforce for Outlook: Enable synching to public folder
API access to public calendars should make this possible.