web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Change Connection caus...
Power Automate
Unanswered

Change Connection causes 'Forbidden' error

(0) ShareShare
ReportReport
Posted on by 5,836 Moderator

I have a flow where I need to use the Outlook SendMail(V2) connector.    We have a utility account we want to use for sending the email so we aren't plagued by personal connections failing do to account lockouts etc.

 

I changed the connection to the utility account and am now getting a failure to send the email, with the Message 'Forbidden'.

 

Error from token exchange: Connection msmanaged-na/logicflows/8526492f-16be-486f-a601-f246f1cf80bf@https://msmanaged-na.azure-apim.net/ version -9223372036854775808 msmanaged-na/office365/shared-office365-00caf349-ecd3-472e-a036-ea17-be9ee57d is not allowed to access connection msmanaged-na/office365/shared-office365-00caf349-ecd3-472e-a036-ea17-be9ee57d

 

I have added the account to the SharePoint list permissions, so that shouldn't be it.

 

 

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    Hi @JR-BejeweledOne 

     

    I think the issue is with the service account itself. Does the account have an email, and is it allowed to send emails? Some admins block or don't even configure one since they don't want people sending emails from service accounts, so this could be a way to get that error.

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    This account was specifically created for the purpose of using in Flow for sending email.    And we have been using it as the 'From' address in the Outlook connector successfully for some time.  We had to give everyone SendAs permissions to the mailbox before we could even do that.

     

    That being said, all of the reply emails show up in my mailbox in my 'Sent' folder.   

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard