Mocrosoft Webhook Subscription for AzureA Users not working - azure-active-directory

I am trying to create webhook subscription for change notifications in Azure Active Directory, the subscription is successfully getting created and I am receiving events also for groups (create, update, delete). But when I created the subscription for Users, the subscription is successfully getting created but I am not getting any kind of events from that subscription. Before two weeks it was working fine for users but it has stopped working now.

If it worked fine before but it doesn't work any more without any changes to your application, it's very likely that there is a problem with the server.
In this case, please contact Azure Support as soon as possible to track your request.

Related

When email arrives (V3) wont trigger in different resource group

I have a logic app with a trigger "when an email arrives (v3)" that is firing in one resource group but not the other. The deployment is automated and the code is the same on both environments.
I just can't work out why it triggers in one resource group but not the other, I've even pointed them to the same mailbox and same outcome. The resource group where it doesn't run I need to manually trigger it and then it will pull in the new email.
Has anyone run into this issue before?
Managed to get the logic app trigger working:
Deleted the trigger & all actions from the logic app
Saved the empty logic app
Ran the pipeline again to deploy the Logic App
I've made no code changes to the template or any of the connections but it started working as expected.
I'm guessing that when its deploying to a new environment and creating the new o365 connection, it's unauthorised during deployment which might be affecting the trigger for "When a new email arrives". Recreating the logic app once the connection already exists seems to have worked for me.

How to get notified when a logic app is created

I currently work with a small development team and I would like an email notification to be sent to me upon creation of a new logic app which would then allow me to configure new alerts for each new one to say if logic has experience a failure of some sort. Right now I constantly have to check the logic apps in the portal to see if any new ones have been created as of late. I couldnt find any info on this. Any help would be greatly appreciated.
This can be done by creating an alert on activity logs, you can look at the newly created logic app in your activity log and create an alert. You can also use these alerts to trigger emails https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/activity-log
https://learn.microsoft.com/en-us/azure/azure-monitor/alerts/alerts-create-new-alert-rule

Not able to configure hotmail id with azure logic app

I have a simple azure logic app as follows.
Now I add a new action after the first one.
Select an email action.
Look for send email action
Now no mater what I do, I get this error
Please check your account info and/or permissions and try again. Details: REST API is not yet supported for this mailbox. This error can occur for sandbox (test) accounts or for accounts that are on a dedicated (on-premise) mail server. clientRequestId: 9295041e-4d27-4d7f-8ac7-9f90f1cc65ff serviceRequestId: 17c7df3b-7f07-6d27-4f7b-68a4475e9b55 More diagnostic information: x-ms-client-request-id is '51B43F16-6D7C-4BE7-9AE2-7B4A6B73BA49'.
I click Change Connection above and I see these increasing number of connection, and I find no way to delete them. See the last image at the bottom.
And when I click Save, I get this message.
Save logic app failed. Failed to save logic app vivek-logic-app. Some of the connections are not authorized yet. If you just created a workflow from a template, please add the authorized connections to your workflow before saving.
And finally when I click Api Connections, I find no connections to delete.
So two questions.
How to authorize hotmail account te be used by Azure Logic App
How to delete the un-necessary connections
Ok, here it is after a good 3 hour PIA.
For the connections to manage(or delete), look at the resource group and not the Logic app.
And next for the send email action, choose Outlook.Com connection and not Office 365 Outlook. Found the answer here. Mine is personal account and not for work or for school.
Once you setup this action successfully, you can take a look at this page for managing the connection access.

Microsoft Graph API subscription triggers same email with different IDs

I have a weird hard-to-replicate issue with Graph API and Outlook subscription endpoints. A user is authorised in my app and subscription is created for me/messages with change type created.
Everything works fine in 99% of the cases, but once in a while the endpoint is triggered several times with the same email. There is no changes to the email or any other part of the request, except ID, even timestamp. I have no idea how to replicate it consistently and/or fix an issue. Is there any scenario where Graph API would send the same message twice with slightly different IDs? It looks like they are sequentially generated IDs too, as they differ by 1-3 characters in the very end.

Send Email When Match in Firebase Database

I'm trying to build a web app using AngularJS and Firebase that sends an email to two users that match on certain parameters. The users submit their information first and if there is a match with another person in the database, I want to send an email to both those people. For example, if two people, A and B both have the age of 25, I would like to send A and B an email with certain information. Is this possible using Firebase?
If you are NOT running a server
Yes
You could achieve it by using a service like Zapier.
You could create a zap linking FireBase and an e-mail service like Mandrill.
A Zap combines triggers and actions — whenever the trigger event occurs, Zapier automatically completes the action for you!
When there is a match, update a special key in your FireBase database.
As Zapier is listening to updates of that particular key, it will react by sending your e-mails via Mandrill.
March 2017 UPDATE
New tools have now been added to Firebase to trigger database event handlers:
database events triggers: https://firebase.google.com/docs/functions/database-events
cloud functions for FireBase: https://firebase.google.com/docs/functions/functions-and-firebase
using cloud functions to send e-mails through sendGrid:
https://cloud.google.com/functions/docs/tutorials/sendgrid
If you are running a server
Your server can easily check the values in FireBase and send e-mails accordingly. That would then be a
Yes, of course :)

Resources