I would like to achieve the following through logic apps - office 365 approval email. If a request is approved, invoke a run book which would shutdown the virtual machine. if denied , send an an email that action was denied. This works perfect. however the problem is , if there is no response taken by the user, the logic app just runs forever. though i can configure the timeout value i don't want this task to be running until timeout. I want to send an email to an escalation contact if there is no response received in 30 minutes . Is it possible to achieve using office 365 approval email connector in logic app? Or should i use something else like flow?
You can set a timeout in the action's settings
And after this action, you would have a parallel path with run after configured for timed out
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 have an Active Directory sync app which is using for internal purpose and its saving the data to SQL table feeding from Azure AD via Graph API. Along with its basic functionality, we are updating custom user profile properties using CSOM. But most of the time after some request processing, we are getting Error 429, Too many requests.
Is there any option of bulk update to update a set of (say 500/1000 profile) custom user profile properties in a single request? Please help me on this. If there is any other option, please suggest.
Thanks in advance.
Cause:
When a user exceeds usage limits or request frequency limits, SharePoint Online throttles any further requests from that user account for a short period.For requests including CSOM or REST calls, SharePoint Online returns HTTP status code 429 ("Too many requests") or 503 ("Server Too Busy") and the requests will fail.
Possible work arounds:
Please check if the response includes a Retry-After value .Please wait till that time and retry later . Making additional calls while receiving throttle before the reftry-after time period responses will extend the time it takes for your app to become unthrottled.
Note: Not all of the Microsoft Graph APIs provide a Retry-After
header. In this case have an initial wait period and keep increasing
it exponentially with each 429 response.
Make sure your app in azure ad has Sites.FullControl.All and User.ReadWrite.All permission scopes and grant admin consent . Also check the same in xml for FullControl in app permissions.
Try to select only those user profile properties that you need in the request and avoid which are not necessary.
Use JSON batching to combine multiple requests into a single batch request.
Try using ExecuteQueryAsync() instead of ExecuteQuery() or vice versa or ExecuteQueryWithIncrementalRetry .
Optional: try to use ExecuteQuery calls with Start-Sleep -Milliseconds 1000 statements, especially if calling it in a loop.
Otherwise please try with these powershell module references:
Bulk Update | so ref
update User Profile
Other references:
Azure AD Graph API-SO
Microsoft Graph throttling guidance | Microsoft Docs
429 error-SO ref
I have my Alertmanager up and running and I can see all active alerts on alertmanager dashboard.
Now I want an email notification for alerts based on created rules.
I tried getting internal smtp details but seems like its a very hectic task in organizational env.
For other small tasks, we use Jenkins webhook to send an email notification to our org email address and it works.
I assume there is something I can do to integrate alertmanager with Jenkins and send alerts to my email address, but not completely sure how to do that.
I was wondering If someone can redirect me to a relevant post or a brief HowTo to achieve this model.
thanks in advance.
As described at https://support.google.com/datastudio/answer/9263641, there is now the Scheduled Email feature for Google Data Studio Reports.
We tried to set up a scheduled email in my organization and we noticed that the emails do not work for anyone except the person who set up the schedule. All emails have been verified to be correct and all users receiving the email have access to the underlying data source(s) (not sure if that matters though).
What do we need to do to get the scheduled email working for additional recipients? Even if it was only 1 other email, we could set up an email group and handle getting it to everyone that needs it.
This isn't actually an issue, after further investigation these emails were being caught by my company's spam filter. Once I whitelisted data-studio-noreply#google.com, I was able to receive the messages.
my application deployed on app engine has been working succesfully half a year. One function is a sending of emails. But today it started to fail everytime with this error:
javax.mail.SendFailedException: Send failure (javax.mail.MessagingException: Illegal Arguments (java.lang.IllegalArgumentException: Unauthorized Sender: Unauthorized sender))
Of course sender email is registered in app engine console.
I didn't change anything!
Anyone who share same issue?
If someone have the same problem, the reason is the sender for the mail is incorrect or doesn't have permissions to send the email, I use the default noreply#your-application-id.appspot.com account to send the email.
InternetAddress from = new InternetAddress(
String.format("noreply#%s.appspotmail.com", SystemProperty.applicationId.get()),
"Your Application Name") ;
message.setFrom(from);
You can check if the account of your user is not marked as a spammer or disabled in Google Apps.
If you are sending a very large number of emails to a single email account, Google can throttle you. When we were sending emails whenever we got an error, we ran into a similar problem.
Also, there is a limit on number of calls to mail API per minute.
Maybe earlier you were sending mail to fewer people resulting in fewer calls to the mail api.
It's 8 calls per minute, unless you have provided a credit card number to enable your billing.
Does your sender email address has permission to access this app engine application ?
it's must have permission to access your application then it will work...