Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Change Connection causes 'Forbidden' error

(0) ShareShare
ReportReport
Posted on by 5,836 Super User 2025 Season 1

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.

 

 

  • JR-BejeweledOne Profile Picture
    5,836 Super User 2025 Season 1 on at
    Re: Change Connection causes 'Forbidden' error

    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.   

  • manuelstgomes Profile Picture
    6,625 on at
    Re: Change Connection causes 'Forbidden' error

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,957 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow