May 21 2021 01:14 AM
Hi everyone,
I have the following situation:
We are using Jira as helpdesk.
Users can create helpdesk tickets when they send a mail to help@...
After that they get a mail from jira, with access to their ticket. The it admins can also respond to the ticket creator, to get further information.
A lot of our user don't understand this. We get a lot of duplicated mails and mails with missing information.
Cause we don't want to create jira accounts for all our users, we now tried to use MS Forms.
We try to use PowerAutomate to send a mail to help@... after the responder submitted his answers.
As I explained it is necessary to send these mails with the responder mail. Otherwise the users with problems will not get the jira mail, that a ticket was created and our it admins can not respond to their tickets.
Problem: Flow failed. You are not authorized to send mail on behalf of the specified sending account.
{
"status": 403,
"message": "You are not authorized to send mail on behalf of the specified sending account.\r\nclientRequestId: d45fd15f-1758-4eea-82d5-1ed94570cf13\r\nserviceRequestId: 3bde0f4e-b927-467d-b94c-e1ac912ac7f0",
"error": {
"message": "You are not authorized to send mail on behalf of the specified sending account.",
"code": "ErrorSendAsDenied",
"originalMessage": "The user account which was used to submit this request does not have the right to send mail on behalf of the specified sending account., Cannot submit message."
},
May 21 2021 01:47 AM
@Sebo12354 The flow either needs to use the "send an email (v2)" action which will go from the creator's email address, the "send an email from a shared mailbox" where the creator of the flow needs to have full send privileges, or use the "send an email notification (v3)" and in that case the email goes from Microsoft (but you can only send 100 emails in any rolling 24 hour period). In my company we always use the shared mailbox option. You'll need to check the flow creator's permissions as the message is clear that's where the problem is.
Rob
Los Gallardos
Microsoft Power Automate Community Super User
May 21 2021 02:10 AM
@RobElliott thx for your reply.
As you can see I am already using Send an email V2. If I use Responders Mail like in my screenshot then I am getting the error message.
"send an email from a shared mailbox": What does that mean? That all users can see the mails of other people? Do I have to use this account to create the flow?
I have not that much experience with this stuff 🙂
May 21 2021 03:28 AM
@Sebo12354 you can't use the Responder's email as the send as because you won't - and never will have - permission to send on behalf of that user. I recommend you get your IT people to set up a shared mailbox in Outlook that you and others in your team have permissions to send from. It's just a normal mailbox but not assigned to a single user. Others won't be able to see the emails there. The advantage if a shared mailbox is that if you leave the company the flow will continue to work. You should also give someone else co-ownership of the flow for the same reason.
We do this for our IT ticketing system which, instead of Jira, we manage in SharePoint. An earlier part of this flow creates the item in the list, gets the ID and emails the responder with the details of what they submited together with the ticket (ID) number for follow-up later.
Rob
Los Gallardos
Microsoft Power Automate Community Super User
Jun 14 2021 06:27 AM
Nov 15 2021 01:52 PM
Nov 16 2021 12:23 AM - edited Nov 16 2021 12:30 AM
@Marybb you can't send the email from the form submitter because you don't have send privileges on that email account. For out IT Support ticketing system (which also uses Forms, SharePoint lists and several flows) we always use a shared mailbox to send out the emails.
Rob
Los Gallardos
Microsoft Power Automate Community Super User