I have a very simple OWA Add-In which is working fine when the mail size is < 1 MB. But when mail size increases like adding attachments then, I am getting error - makeEwsRequestAsync failed. [object Object]
I went through some post for the solution but didn't found any solution for this. Any help will be deeply appreciated.
This is the known limitation of makeEwsRequestAsync and it is documented in https://learn.microsoft.com/en-us/javascript/api/outlook/office.mailbox?view=outlook-js-preview&preserve-view=true#makeEwsRequestAsync_data__callback__userContext_.Try to make request from back-end instead of API –
Related
Is the webhook connections broken in Microsoft Teams or how do we solve the following issue?
When applying the Microsoft Teams Get Started documentation we get the following response in Postman.
"System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information."
We have set up a webhook in Teams and use it to post Application Insights messages to a Logic App where one of the actions is the webhook to Teams. Everything went fine until now (7/21 and 7/22, 2019) when we saw in Azure the same exception as a response on status 200. To figure this all out we went back to basic and tried to execute the Get Started documentation. The same exception was thrown.
Code that we used was all from the documentation.
After a day or two the exception wasn't returned anymore after NO modifications to the logic app or payload to the Teams webhook. Everything works fine now.
For future use we added an action to the Logic App to read out the webhook's response to determine futher actions, like sending an e-mail if webhook failed.
When I try to enable Cortana in my Nodejs Bot, I get the message error internal server error, probably there something wrong in my code despite it works fine locally and in Ms Teams.
Is there a way to obtain a more specific error?
Analyzing the browser dev toolbar I get a 400 for the following http POST:
https://dev.botframework.com/api/bots//channels/cortana/deployment/ring
Did you check:
https://learn.microsoft.com/en-us/cortana/skills/known-issues#luisdialog-fails-on-skill-launch
https://github.com/Microsoft/cortana-skills-samples/blob/master/Consumer/Node/V4Patches/12.nlp-with-luis.diff
I would venture a guess that you do not handle the empty message / welcome intent on first turn.
Finally I activated Cortana Channel by uploading again the skill icon
I was trying to send skype-bot message to skype-user using REST API in nodeJs, but user receives bot-message two times of that single message. I am sending the message with HTTP POST request only single time using a single activityId. Is there any way to control duplicate messages? what can be the reason behind this?
I have gone through this Receiving the same message twice
Can anyone please like to help finding the issue?
[No sdk or other library is used ]
I have found the issue. I was subscribing redis to read message and deliver to user. I found that it was happening twice[one in my app uploaded to server and another in my local machine]. Now resolves. Thanks !
I'm designing an Outlook add-in and need to determine whether a selected message is part of a thread. Ideally, I'd also like to find related messages in said thread as well. Reading over the documentation, the conversationId property looks promising, though there doesn't seem to be a way to "get messages by conversationId."
Under the current version (1.4, non-preview) of the Outlook Add-in API, is it possible to detect that a message is part of a thread using the JavaScript API? Is it possible to then find other messages in the same thread?
ConversationId is part of the javascript API. This means that you can know the ConversationId for the Office.context.mailbox.item whose your add-in is focusing on. See documentation here
To my knowledge, there is no way to retrieve all mails for a given ConversationId using vanilla javascript and Office.js.
However, you may be interested in my answer here.
When something is not available with Office.js api for an Outlook
Add-in you can try to use the Exchange Web Services (EWS) or REST APIs to perform the action
You have basically two ways to request EWS from a mail add-in.
You can request directly the EWS with a SOAP request from your client
app. See method makeEwsRequestAsync in Office.context.mailbox(https://dev.outlook.com/reference/add-ins/Office.context.mailbox.html).
You can get an access token, send it to your server and make the request from
there.
For the specific case of retrieving conversations using the Outlook REST API, this answer may also be helpful.
I'm using Outlook REST API to send mail.
When I try to send 7000 emails via Outlook api, there are 78 mails cannot be sent and moved to draft folder. I wonder if it is default action of outlook api or it is an error ?
Thank you !
You may be running into message send limits as documented here: https://technet.microsoft.com/en-us/library/exchange-online-limits.aspx#RecipientLimits If you believe you are within the documented limits, let me know and we can investigate further.