Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Using 'Send an email from a shared mailbox (V2)' from an AD service account - 'Test connection failed'

(0) ShareShare
ReportReport
Posted on by 235

Hi,

I have a flow which I would like to use 'Send an email from a shared mailbox (V2)' from an AD service account. It works fine when I use it from my personal account, but I get 'Test connection failed' and it gets stuck on 'Updating...' when trying to add the service account's Outlook connection:

error1.jpgerror2.jpg

 

 

 

 

 

 

 

 

 

 

 

The service account:

  • Has an Office 365 F3 licence assigned (with Flow for Office 365 K1 turned on within)
  • Has 'Full Accession' permission to the 'test sharedmailbox' ('The Full Access permission allows the delegate to log on to this shared mailbox and behave as the owner of the mailbox.')
  • Doesn't have it's own individual mailbox, since it's a service account and no one would be checking it.

If I try and log into the service account on outlook.office.com (to see the shared mailbox) it says 'We couldn't find a mailbox for this recipient. Either they don't have a mailbox or don't have a licence assigned.' When I log onto office.com it doesn't show Outlook as an app. Is this a licencing issue, because it doesn't have a specific Outlook licence assigned? Or something else?

  • Verified answer
    rhiheu Profile Picture
    235 on at
    Re: Using 'Send an email from a shared mailbox (V2)' from an AD service account - 'Test connection failed'

    Thanks @alrez. I fixed this by giving the service account a mailbox - I was hoping not to do this but I couldn't find another way around it. Others encountering this issue may wish to open the support ticket as your suggested, to see if there is another way to get around this.

  • Verified answer
    alrezac Profile Picture
    on at
    Re: Using 'Send an email from a shared mailbox (V2)' from an AD service account - 'Test connection failed'

    Hi,

     

    Looking at this it appears the Flow is set up fine. It has to be some kind of licensing or authentication issue with the service account itself. I would recommend opening a ticket with Microsoft Support on this. I will include a link on how to do so below; Unless any other communities member knows what is going on feel free to chime in.

     

    If you would like to create a ticket with Microsoft Customer Support here is a link on how to do so: https://docs.microsoft.com/en-us/power-platform/admin/get-help-support

     

    Regards,

     

    Alex

     

    -------

     

    Community Support Team _ Alex Rezac
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1