How do I create a notification url endpoint for microsoft graph api change notifications - azure

I am trying to get change notifications for users using microsoft graph api. For testing purpose I have been using ngrok as suggested by many.
But now I want to use the real notification url to test my code.
How do I do it? The microsoft documentation says "This URL must make use of the HTTPS protocol".
Do I create an endpoint in azure or what are the other options?
Thanks in advance.

The notificationUrl is just your proxy URL. See the example here: https://github.com/OfficeDev/hands-on-labs/blob/master/O3653/O3653-19%20WebHooks/Lab.md
The one in the sample using ngrok looks like:
https://74c48253.ngrok.io/notification/listen

You could use a Power Automate Instant Cloud Flow with the trigger as "When an HTTP request is received" and the subsequent steps could include emails with the details of the notification.
When you save the flow a URI will be generated which you can copy and use as your Graph change notification URI.

Related

How to register whatsapp webhook

I need to do an integration with twilio where the application serves multiple accounts. With that I have the need to receive the whatsapp integrations in different URL for each user of the application.
I would like to register these URLs in a simple way, without my user having to access the twilio panel.
How can I register a whatsapp WebHook using HTTP APIs or nodejs SDK?
I searched the documentations and even debugged the nodejs SDK and couldn't find a way to do that.
What’s integration allows you toconfigure one URL per number. How about setting that URL to your backend which then breaks out the behavior based on the from number.

Docusing Custom Connect url to publish not support http

So far i finished Docusing integration with our DMS including webhook listener, when we config for Custom Connect, url to publish not supporting http://, in some articles mentioned it support htpp and https, in some article not mention http will support,
I have demo sandbox account in Docusing, from my account setting page, if i enter url to publish link for webhook listener and i click save button, it will not save, it show error like "url need https"
Screenshot -http://prntscr.com/v3n6en
Pls advise me what i did wrongly ?
Regards,
Aravind
Unfortunately you can't use HTTP with Connect
This guide explains it
Quote from Q&A:
DocuSign Connect is used to transmit sensitive data about your envelopes across the Internet. As part of DocuSign’s focus on security, we are upgrading all notifications to use HTTPS only.
Hope this answer your question

Instagram webhook not activating

My goal is to use the Facebook webhooks to get a notification whenever an IG user mentions my IG account. For that I have followed these steps:
I have created a Facebook page and connected it with an Instagram business account.
I have created a Facebook app (which is now live) and added the product "webhooks".
I have connected my app with my page.
I have created a webhook and subscribed to the mentions event.
I have tested the webhook, using the tools provided by Facebook and it works.
The problem I'm facing is that I can't get my app to work with real data. I have tried to mention my business IG account from my IG personal account, but nothing happens. My callback url is not getting called.
My app doesn't need users to login, so I'm not sure if I need to send my app for review. Do I need a special permission?
I had the same problem. For my case, when I installed the app via graph api explorer, the page token I was using didn't have the instagram_manage_insights permission. So I granted that permission, got a new token, re did the POST request to the {page-id}/subscribed_apps again with the new token and that fixed the problem. Just for the record, I used a system user token from the business manager.
Did you verified your Facebook app via app review? If not, you won't get production data via a webhook callback for the Instagram. I had the same issue and asked the Facebook support and got following response:
However, this is not the same for instagram or pages. This is just how the product teams have decided to implement it. For app review, you can show a mock process of the flow, using either the test webhook or your own process. The app review is less about technical implementation steps, but just a way to make sure that your app is going to use the permission in a way that follows our guidelines, so mocking the procedure should be fine. The reviewers understand that you do not receive webhooks in dev mode and should take this into consideration.
For more information check out following links:
Why is the Instagram Graph API webhook not working
https://developers.facebook.com/support/bugs/495933900986533/
I just figure it out of this problem.
There is a mistake in the official Instagram webhook guide:
With Graph API version 3.2, the /{page-id}/subscribed_apps edge now requires the subscribed_fields parameter, which currently does not support Instagram webhooks fields. To get around this, use your app's dashboard to subscribe.
https://developers.facebook.com/docs/instagram-api/guides/webhooks/#install-app
However, the app's dashboard subscribe is another function. You need your page to subscribe to some field to receive webhooks
Just POST /{your-instagram-connected-page-id}/subscribed_apps?subscribed_fields=feed&access_token={your-instagram-connected-page-token}
Then you will receive webhooks in live mode.

Can anyone post an example for event notification using docusign java-client sdk?

I want to implement event notification webhook method into my app. I am using docusign-java-client SDK for docusign, but I am unable to find any example using SDK. Can anyone provide some example to achieve this?
I'm sorry to report that we (DocuSign) don't yet have a Java recipe for this. We do have a Python example. Java is on the list of things to do. Perhaps someone else can provide an example in the meantime.
Here is a general description:
First, set up your webhook subscription. You can have an envelope-specific webhook subscription by including the eventNotification fields in your envelope create request.
Or you can set up a more general subscription by using the "Connect" feature. You can setup Connect subscriptions either via the DocuSign web tool, or programmatically.
As part of the subscription you provide your url for the incoming XML notification messages.
To handle them, you write a small web app using whatever web app framework is easiest for you and your stack. Your web server will receive the incoming https calls from DocuSign.
You can see what the incoming XML messages look like by using the beta Recipe Framework. Run it on Heroku. Use the embedded signing recipe and click the button to see the Webhook / Connect messages. You can then see the sorts of messages that you will receive.
Your incoming message web server will simply parse the XML messages and then handle them accordingly.
Thanks for using the webhook system. Please ask more questions here if you have any issues.

How to send Email using Logic App?

In one of my project I want to send email using Logic Apps, for that I followed below link.
https://azure.microsoft.com/en-in/documentation/templates/101-logic-app-sendgrid/
From the above link i created the Logic App in my Azure Subscription
and make designer in my logic app like this below figure. but i don't know which values can i gave in their text boxes.
My designer will be like this below figures.
but i don't know how to send email from newly created logic app in my azure portal.
Please tell me how can i achieve this.
-Pradeep
You can use the json body coming in http request using the
"#{triggerBody()['propertyname']}"
checkout this blog for the details
https://azure.microsoft.com/en-us/documentation/articles/app-service-logic-http-endpoint/
May you can see the following blog for step by step guidance.
https://sps-cloud-architect.blogspot.com/2019/12/azure-logic-apps-send-email-using-send.html

Resources