How to get notified when a logic app is created - azure-logic-apps

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

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.

OneLogin Notification - Track reactivation of disabled/suspended/unlicensed accounts

Just getting around to setting up some more detailed reporting in our OneLogin setup, and I'm not sure how to go about the title to this question. How would I create a new notification to alert us when a user account gets reactivated in any way and by whom it was done by?
This has been somewhat helpful, but I feel like there are more OL database values that can and/or need to be used to get what I need.
In your administration panel there is a tab for Notifications under the Activity tab. You are able to configure a email notification whenever an account is reactivated.
Upon getting the email you can log into your administration panel and view the user profile within the account to view who made the changes.
I am not an expert on the UI side of Onelogin, but I work on the engineering team. There may be an easier way to do this, but the functionality is there.

Handling whether or not the user has already seen a popup, ReactJS

I am a bit dumbfounded on how to achieve this properly. So you have an app that is getting regularly updated, and you show those new updates to the user (something like discord update popup and whats new and such). How do you handle whether or not the user has seen it? A more high level question that "local storage", I am well aware of that or storing it in a DB, but this doesn't seem 1) Scalable, 2) Easy to work with in the long run. Are there any JS libraries that can simplify the process, eg or do I have to manually track each update? If there are more updates or the user hasn't logged in a while
I hope I conveyed what I am working on properly. Would love to hear how it's usually done.
Q: have an app that is getting regularly updated, and you show those new updates to the user
A: Service Worker can help you .That support reacting to push message .And they provide the Push API gives web applications the ability to receive messages pushed to them from a server, whether or not the web app is in the foreground, or even currently loaded, on a user agent.
More detail about start up a service worker to send users a message . https://developer.mozilla.org/en-US/docs/Web/API/Push_API .
Finally I suggest you try Workbox , that is a library that bakes in a set of best practices when working with service workers.

Mocrosoft Webhook Subscription for AzureA Users not working

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.

Send updates to a user using Socket.io and nodejs

I'm building an app using MEAN Stack (something like Facebook). So a user can login to my app using different browsers and I want for example, if there user will add a new message to the MongoDB, I want to update his messages in the other sessions. The same of he will remove a massage. At the same time, there maybe logged in different users from different browsers and I want to notify the user with his update in the other sessions.
Does Socket.io supports such an option? And what is the best way to do it?
Thanks.
Yes socket.io do support that. Here is an example made by socket.io themselves: https://github.com/socketio/socket.io/tree/master/examples/chat
You should be looking for socket.on() which are the listeners for an event on the server side and look into socket.emit() which are the senders of the events. the .emit()could be added into an function which are triggered on a button click for example.
Depending on you needs, if you're going to send the message to every user using your app then you could use this above code. But if you only wants to send to a specific list of persons you should look into something called Rooms (http://socket.io/docs/rooms-and-namespaces/#rooms).
This does exactly what it sounds like, it emits the messages to the specific room where users have been added to when they connect to your application.

Resources