I have a Logic App with a trigger called "when an email arrives".
The way I know how to connect the email to the Logic App is to edit the connection to authorize it to my mailbox.
What I want to do is monitor a shared mailbox in which I have full permission. How can I authorize/make the trigger listen to this mailbox if it doesn't have a password? I saw another Logic App that was successfully connected to a shared mailbox but I don't know how it was done. How can you connect to it and use this same trigger?
Does anyone have suggestions?
You can use the trigger "when a new mail arrives at shared mailbox" directly instead of "when an email arrives" trigger. Like below screenshot:
Related
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.
I want to check in a flow whether an internal mail address is a shared or user mailbox. Depending on this, I would branch off whether a mail is sent from a shared or user mailbox (PowerAutomate has two events for sending mails, one for shared and one for a normal user mailbox). Is this possible and how?
Similar to power automate , logic app has outlook office 365 connector supports both sending an email from shared or user mail boxes by using the below actions.
I am creating a chat application using Wpf. So far I have created all the basic interfaces and most of the methods required. I am maintaining a database and it also saves details of all the users along with an auto incremental user id.
I am trying to use SignalR to send messages between online users connected to a hub. At the same time, a copy of the message is saved in the database with a sending user id and receiving user id.
When a message is sent to a user via a hub, I specify the user id of the receiver of the message. But when sending it to the receiver from the hub, I don't know how to map the user id with the connection id of the receiver.
How can I accomplish this task?
Check out this link
Mapping ASP.NET SignalR Connections to Real Application Users
basically this is done by overriding OnConnected and OnDisconnected of Hub class
I'm creating an application in with angular and nodejs and I need to be able to read another user's list of events. Right now I am attempting to use "https://graph.microsoft.com/v1.0/users/otherusername#companyurl.com/events" this gives me the 403 "Access is denied. Check credentials and try again.". However, if I use "https://graph.microsoft.com/v1.0/users/myusername#companyurl.com/events" it works(as most would expect). My question is, why is it when I use outlook I can use scheduling assistant to see the events for "otherusername#companyurl.com" without being an admin but in my application I cannot see their events due to credentials?
The library I'm using to connect to microsoft graph api is https://github.com/AzureAD/azure-activedirectory-library-for-js
The delegated permissions I have set in azure are
View users' email address
Sign users in
Read user contacts
Have full access to user calendars
Read user calendars
Send mail as a user
Read directory data
Read all users' basic profiles
Sign in and read user profile
Application permissions (I understand these require admin)
Read calendars in all mailboxes
Graph api permission scopes
Any help is appreciated, thankyou.
Fugal - This is by design. You can use FindMeetingTimes API to schedule meetings with other users. This can be accomplished with just Calendar.Read permission. See http://graph.microsoft.io/en-us/docs/api-reference/beta/api/user_findmeetingtimes for more info.
For you to view another user's calendar using /events endpoint, you need a special permission (something like Calendar.Read.Shared) that we are still in the process of adding. Once we add that, you will be able to use /Events to access any calendar that another user has explicitly shared with you. But if you want to just schedule meetings, FindMeetingTimes should be sufficient.
This is my perivous question in stackoverflow about how to push the data from database instead of application pull data.
After went through the link and the documents I come to know that I need to write a query in application side for notification request then the DB will register my request in subscription and If there is any change in the DB it will check subscription, if the request is there it will send the message to the client.
This paragraph is from the above mentioned link:
Along with the query submitted for the notification, the client submits a service name
and a broker instance. Each notification subscription begins a Service Broker dialog
with this provided service and broker instance. When data is changed and the change
would affect the result of the submitted query result, a message is sent on this dialog. By sending this message, the client is considered notified and the notification
subscription is removed. If client desires to be notified on further changes, is supposed to subscribe again.
Now I don't know how to write a query in application side for notification request and I don't under stand submit a service and a broker instance from the above given para. I guess the service and broker instance needs to be created in application before query the database for notification request. If it is so how to create service and a broker instance?
I can check the DB server for subscription by select * from sys.dm_qn_subscriptions command. can anyone help me?
For Service Broker, you can find a ASP.NET MVC based step by step guide here. It also links to a github sample project for a better understand.
If you need just a callback to your SP/etc execution that's a BeginExecuteReader command -from application side-.
If you need DTS event handling only (or on top of other things) it is described here with sample codes.Hope this helps!