Please help to understand why i'm not seeing newly created Logic app in event section.
I've done everything like in this manual - https://learn.microsoft.com/en-us/azure/key-vault/general/event-grid-logicapps.
And this login app doesn't firing when event is occured.
After reproducing from our end here is how we could able to add the event subscription manually. Navigate to your Key vault >> Events >> +Event Subscription
Create a new logic app and use the same flow as mentioned in the attached manual. Now navigate to logic app >> properties >> Copy Access Endpoint
Now use the same endpoint in adding the event subscription
RESULT:
Now you can check from your event subscriptions
NOTE: Make sure you are creating the logic app in the same location as the key vault and create the flow first before adding the access endpoint during event subscription creation.
Related
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.
I am creating an AdminUI for my users where I set all the permission. As part of the requirements, every time that a user logins on my IdentityServer I need to set some default permissions, but those are handle on my Admin application. Which is the best way to raise an event to let that application that a user was created on the IdentityServer?
The simplest is i think to create a simple WebApi in IdentityServer that returns the latest users and then let the other application poll this API every X seconds. In that way the system is cleanly decoupled. Perhaps expose the data as a a RSS XML document or a JSON list of items.
There is a built in eventing model in IdentityServer that you could use and push notifications to the Admin application. But push is a bit more complicated to get right, especially how to deal with all the failre/error cases.
I's suggest to add a custom event sink to process UserLoginSuccessEvent or any other event you need, here is list of all builtin events. Find their code here.
In the custom sink as suggested in the other answer you can call an API on admin app to inform it about changes.
Here is a sample for custom sink.
I think to keep two applications decoupled you better to setup a service-bus for simple implementation a sub/pub mechanism. when any user complete registration(or any other actions),then as mentioned in another answer handle the events and add message. admin UI should subscribed before to receive these messages with some information to create a user related data.
As I am having a logic app where the trigger is service bus topic subscription. I want to add multiple subscription ("A", "B","C") for the given topic in my logic app service bus topic trigger . Whenever i select topic it only allows me to select single subscription. Is there any way to add multiple subscription from an array or static variables ? if yes then how to add conditions ? I tried using array, but i have to provide the index of the subscription.
I can use multi trigger logic app for all of the subscriptions to achieve what I am looking for, but is there any other way like using some wildcard characters ***** or / or something else which i am not familiar with .
The action supports selecting only one subscription as you have observed.
Multi Trigger Logic App is indeed one way to go about it but note that the designer doesn't support them, and you will be forced to edit only using the code view.
One alternative would be to split your logic app into two
one for your business logic that is triggered by a HTTP request
one (or more) that is triggered by the service bus subscription trigger and calls the first logic app
Another alternative is to leverage the Event Grid Integration in Service Bus, but note that this is currently applicable only for the Premium Tier.
In this approach, the logic app would trigger based on an event message from Event Grid with details of the subscription that has messages ready to process. You would then use the Get messages from a topic subscription action to fetch the messages to process.
Does Active Directory provide a capability to make an api call following an event of subscribe / unsubscribe from a security group?
I’d prefer to not having to poll AD but rather have my code invoked afer an event of modification of subscript in AD.
Thank you.
I'm creating an app using ionic/angularjs using Backand as the backend service. I have it setup to use a MySQL database.
1) When I create a user through the SDK (version 1.8.2 from the CDN), the user shows up in Registered Users area but does not get a row in the 'users' table. Someone mentioned that I should have Anonymous Access set to User as they said this is a permissions issue but that did not solve the issue for me.
2) I can manually add a user through the Backand GUI and the user gets a row in the 'users' table as I would expect.
3) I can not manually delete users or rows in the 'users' table through the Backand GUI. I get an error stating that the "Delete My App User" failed to perform. You can't specify target table 'users' for update in FROM clause. I haven't modified the Security Actions at all. They're all default. Updating a user receives a similar error.
4) I created a blank app in Backand and updated my app with the new tokens and app name. I was able to login to that app using login credentials that were created on the original app but were not a part of this app. Does this mean users can access any Backand once registered with one app on the system?
Am I just really missing how 'users' registration and logins are suppose to work in Backand?
Any guidance would be appreciated. Thank you in advance.
You can read more on the Back& security concept here.
User can only access to the app he was registred into. In your case I believe the second app has anonymus access, so you have signed in to the first app and got access token, and using the anonymus header you accessed the second app.
Please use incognito window mode for the second app and then you could debug two apps.
You can also review Back& User example to play around with the security.