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

Announcements

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard