Microsoft Graph WebHook not getting Notifcation - web

We have active subscriptions created with a GraphWebHook and everything has been running fine for last 4 months. Suddenly today we do not receive any notification from Microsoft o365 server. What could be the problem and how can we trace the issue. Fiddler shows nothing is sent to out WebHook when we change in outlook.
Any help greatly appreciated.
Thanks
Anamika

Having the same problem. One event was signaled but nothing else. Get /subscriptions shows active subscriptions but none are being received.

Related

Teams Bot suddenly “404 not found”

I’ve been running a MS Teams bot without issues for about half a year now. It is written in Python, using the bot builder SDK, and connected to Teams/Azure via ngrok. Users use it by clicking on the link, which opens up the chatbot in their Teams app (desktop or mobile).
Out of a sudden, some time on 3rd Feb 2023, the bot started having issues sending replies out. And reports a “404 not found error” in ngrok. There’s been no changes to the chatbot’s code.
To be clear, the bot is able to receive the user inputs, but fails to send the replies out.
Would anyone know why?
Finally found the answer. The app secret value expired and simply needs to be renewed. I had suppressed the trackbacks, not expecting that I would one day miss this.

Why the test in web chat bot not responding

Completed build the web bot app in Microsoft Azure. It runs fine in the bot emulator locally. But in the azure , in the beginning it doesn't respond to the question asked. Now it keeps me waiting for the bot to ready.
Issue is listed as:
There was an error sending this message to your bot: HTTP status code InternalServerError
There was no option to update QnAKnowledgebaseId,QnAAuthKey and QnAEndpointHostName and hence I manually added those field.
When did I go wrong and how do I get it working in Azure?
Couple of things to note:
Please ensure you have updated the Messaging endpoint correctly as described in the picture below:
Make sure you have updated the MS App ID and password correctly, also the QNAKnowledgeBaseID in the configuration section like below:
If still doesn't help , please connect application Insights to your bot in order to see the innerExceptions of this InternalServerError. With app insights you can see the Failed Requests the exceptions and the specific platform errors.
Hope it helps, feel free to tag me in your conversation and share the code repo , will help further.

Azure Logic App calling a Slack Webhook runs forever

I am calling a Slack Webhook from my Azure Logic App.
All of it works but I notice that the webhook call never completes even though the message has already been received in Slack.
Any help would be great.
thanks
Russ
I threw a red herring here.
I didnt realise that there was an actual slack connector.
It now works perfectly

Azure Logic App fails to send message to slack

We have some Logic Apps setup that monitor our various sites and a Slack connection set up. If a non-200 status code is returned, it sends a message to our alerts channel in Slack. We have about 10 sites that are monitored.
The first was setup, tested the cloned for the other sites.
The issue we're having is that they all seem to work bar one.
The site in question was offline this morning (after host updated the server at 3am this morning) and I can in the Azure log the trigger was fired - but no message in Slack.
I changed the Condition to "status equals 200" (to ensure it always fires), ran it manually and still see no message.
As mentioned this logic app was cloned from one that did work so the only thing that changes from app to app is the site URL and the contents of the slack message.
Being relatively new to various Azure features this was a bit of "R&D" for Logic Apps so I'm not really sure what to check.
Any obvious gotchas we should be aware of? Any pointers you can give to help resolve this would be great.
NB: I added Slack API as a tag to this but as this part is handled by Azure and it's working for other Logic Apps feel free to remove.

Send bug report from azure

I want to send emails to myself from azure with error and its details when server receives 500 error.
I don't wont to receive messages that something happened (events works the same if I am not mistaken).
Is it possible?
I know that I can find all errors with details in https://{site-name}.scm.azurewebsites.net/websitelogs/#/detailederrors
But how to get text from new file I don't know.
Please help me.
EDIT 1.
I found streaming logs - Recent -> {site-name} -> tools -> streaming logs.
Here I can see all errors in real time. But I can't find where I can send these errors in my email.
I think the web app dashboard does not support alerting directly. You should activate application insights on your web app and then you'll be able to configure email alert on failed request.
This page will help you with working with application insights alerts: https://azure.microsoft.com/en-us/documentation/articles/app-insights-alerts/
Hope this helps,
Julien

Resources